In the previous step, you triggered display of the Hosted Login sign-in screen.
ACTION: Try to sign in or sign up for an account from this screen as an end user would. |
---|
Upon successful sign-in or sign-up, you will be redirected back to the OIDC Playground where you can:
When a user authenticates via login or registration, an authorization code is returned with your redirect URI. This code can be exchanged for user session and data keys including an access token, refresh token, and ID token.
The ID Token returned has information encoded within it. The OIDC Playground automatically decodes the ID Token for you.
For more information, see the OpenID Connect Token reference.
The access token received from the token exchange call above can be used to retrieve information about the user via the /userinfo
endpoint.
For more information, see View userinfo information.
The refresh token received from the token exchange call above can be used to generate a fresh access token and refresh token pair. This is helpful if you want to extend the lifetime of the user’s access beyond the access token’s 1-hour expiration.
For more information, see OpenID Connect Refresh tokens.
This will send you back to the OIDC Playground’s authorize call builder.
When you integrate Hosted Login with your site or app, the processes above may be handled for you by the OpenID Connect library or plugin you configure. Integration with your site or app is addressed in the next section: Integrate
Once you’ve authenticated, you can make the Profile call to trigger the Hosted Login profile screens.
For this step, you will need your Profile URL:
ACTION: Click on your Profile URL above to open it in a new browser tab. |
---|
This will tell Hosted Login to display the profile screen.
ACTION: Try viewing and editing your profile. |
---|
Note that any changes you save to your profile will be reflected in the user record stored in the Identity Cloud.
For more information on the Hosted Login screens you can step through, see Hosted Login screens overview.
Here are the steps you can take to configure and add Hosted Login to your own site or app.
The default Hosted Login experience can be customized to fit your style and business requirements.