Create a sign-out UI element
The first step is to create a link, button, or other similar UI element that allows the user to sign out of the app.
Revoke the access token
When the sign-out request is initiated, create the following flow:
Obtain the access token from the active session state.
Call the IDXAuthenticationWrapper.revoketoken() (opens new window) method, passing in the access token obtained from the previous step.
Invalidate the current session.
Send the user to the signed-out page
After the access token is revoked and the session is no longer valid, redirect the user to the signed-out page.
See also
Validate SSO federation