Preventing OAuth/OIDC authentication timeout errors
Synchronize the session timeout and OAuth/OIDC token timeout to prevent early logouts and authentication errors.
About this task
The Identity Provider (IdP) that creates and manages the authentication token for the user has a timeout value for the token. The token contains this expiration time and is valid only within this time. The tokens are used for authentication so that any server that receives the token can verify that the token is valid before proceeding. If the timeout of the token is exceeded, the token is no longer usable and the user must refresh the token by logging in again.
When the defined amount of time passes, all user tokens expire regardless of session activity. Synchronize the session timeout and the OAuth/OIDC token timeout to prevent early logouts. The token timeout must be equal to or greater than the session timeout. The session timeout is configured through the application server and the default is 30 minutes. The OAuth/OIDC token timeout is configured by the IdP provider for the client application that is used for the Content Cortex system. Refer to the IdP documentation for the default setting and instructions for changing the token timeout.
The default IBM® Content Navigator session timeout value is 30 minutes. You can change this value to a longer duration.
Procedure
Choose the appropriate procedure based on your deployment environment.
Results
The session timeout is synchronized with the OAuth/OIDC token timeout, preventing premature session expiration and authentication errors.
What to do next
Verify that the IdP token timeout is configured to be equal to or greater than the session timeout you configured. Refer to your IdP documentation for instructions on configuring the token timeout for your client application.