...
- To change the default expiration time of application access tokens, change the value of
<ApplicationTokenDefaultValidityPeriod>
element in <APIM_HOME>/repository/conf/api-manager.xml file. You can set this to a negative value to ensure that the application access token never expires. - Similarly, to change the default expiration time of user access tokens, edit the value of
<AccessTokenDefaultValidityPeriod>
element in <APIM_HOME>/repository/conf/identity.xml file.
...