Protocol Flow
The steps of the OIDC authorization flow are as follows:
- The user clicks login on the publisher website.
- Upon the reception of the login request from the user, the web server initiates an OIDC authorization request by constructing a URL and redirecting the user to this URL through a browser redirect.
- The ODIC Server initiates user authentication by displaying the user a login interface.
- The user submits their credentials.
- The credentials are validated and the user is authenticated. The OIDC Server redirects the user back to the web server, through a browser redirect, providing an id_token and a code.
- The web server retrieves the user information from the id_token, authenticates the user, and creates a session.
- The user is authenticated to the web server.
- The web server exchanges the code received from step 6 with an access token that will allow the retrieval of additional user profile data for this user.
- The web server uses the access token to retrieve more user profile data.
- The OIDC server validates the access token and provides the web server with the requested profile data.