Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
HTTP/1.1 302 Moved Temporarily
...
Location: <RedirectURL>:<sessionToken>
...

To As an example, to authenticate against Google's OpenID endpoint, the request is:

...

Code Block
https://auth-prod.sagebase.org/auth/v1/termsOfUse.html

 

Once the user has accepted the ToU, the authentication request may repeated, including a new request parameter acceptsTermsOfUse=true: 

Code Block
POST https://synapse.sagebase.org/Portal/openid?OPEN_ID_PROVIDER=<OpenIDEndpoint>&acceptsTermsOfUse=true&RETURN_TO_URL=<RedirectURL>

...