This documentation is for WSO2 API Manager 1.7.0 View documentation for the latest release.
Page Comparison - Working with Access Tokens (v.4 vs v.5) - API Manager 1.7.0 - WSO2 Documentation

All docs This doc

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • To change the default expiration time of application access tokens,
    • Change the value of <ApplicationAccessTokenDefaultValidityPeriod> element in <APIM_HOME>/repository/conf/identity.xml file. Set to a negative value to ensure that the token never expires.
    • Alternatively, you can set a default expiration time through the UI when generating/regenerating the application access token. This is explained in previous sections.
  • Similarly, to change the default expiration time of user access tokens, edit the value of <AccessTokenDefaultValidityPeriod> <UserAccessTokenDefaultValidityPeriod> element in identity.xml file.

...