Single sign-on workflow
Before an application can start, the SSO delegate process passes through various stages of communication with the identity provider (IdP) to authenticate the user.
The diagram represents the process of starting an application performing SSO with the GAS/JGAS.
The workflow is illustrated at a high level showing the components involved. The communication paths
that are numbered (1 to 7) are explained as follows:
- User agent requests the start of an application of the form /ua/r.
- The SSO delegate service redirects the user agent to the IdP defined in the configuration file (xcf).
- The IdP queries the user agent directly for user login and password.Note:
Step 3 may not happen if the IdP recognizes an user already registered in a previous SSO login session.
- If the login is ok, depending on the protocol, the IdP may create SSO tokens in its local database and then redirect the user agent to the SSO delegate service callback URL (previously registered).
- On the incoming /callback URL, the delegate service requests the token directly from the IdP and checks its signature validity via the IdP's public key.
- If the token is valid, the delegate service sets a temporary cookie for the initial /ua/r application URL and redirects the user agent to that URL.
- If the temporary cookie is valid, the ua/r application is started on behalf
of the authenticated user.
Once the application has started, it may receive an access token to query some REST services that the authenticated users has access to.