Increase the OAuth 2.0 Token Expiry Time

The default token expiry time for OAuth2 tokens is one hour. Users can increase the OAuth2 token expiry time by performing the following steps:

  • Locate the zephyr.properties file in <zephyr_Installation_Directory>/tomcat/webapps/flex/WEB-INF/classes and configure the following token expiration details in the file:

    1. defect_user_logout = false: By default, this setting is set to false. Set it to true to enable the OAuth2 token expiry extension feature.

    2. defect_user_logout_deadline = 4320: This value is defined in minutes; for example, 4320 minutes is approximately six months. Modify this parameter to adjust the token expiration duration.

Publication date: