...
Note: Successful completion of this request (1) requires that the user already exists in the Synapse user database, but (2) does NOT require the the user has already signed the Synapse Terms of Use. ( To create the user in Synapse, use the user creation service described above: CreateUser. To check whether the user has signed the Synapse Terms of Use, use the token refresh service described above, RefreshToken%28resettimer%29. A 403 Forbidden response means that the user has not yet accepted the Terms of Use.) The successful response to the OpenID log-in request is a redirect to <RedirectURL> with extra request parameters to hold (1) an authentication status indicator (OK) and (2) the session token:
...
Code Block |
---|
HTTP/1.1 302 Moved Temporarily ... Location: <RedirectURL>?status=OpenIDError ... |
As always, after authenticating before making authenticated requests to Synapse, the user must accept the Synapse Terms of Use. To check whether the user has signed the Synapse Terms of Use, use the token refresh service described above, RefreshToken%28resettimer%29. A 403 Forbidden response means that the user has not yet accepted the Terms of Use. To accept the Synapse Terms of Use, use this service: AccepttheSynapseTermsofUse
Sample commands, issued from cURL:
...