...
- To change the default expiration time of application access tokens, change the value of
<ApplicationTokenDefaultValidityPeriod>
element in <APIMinĀ <APIM_HOME>/repository/conf/api-manageridentity.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.
After an access token is generated, users sometimes want to renew the old token due to expiration or security concerns. API Consumers can re-generate/refresh access tokens in the following ways.
...