Adding OAuth token cache time to live rules
Add an OAuth token cache time to live rules, which configures the caching behavior for access tokens.
About this task
This rule allows the global OAuth token cache configuration to be selectively overridden for specific applications or resources.
Steps
-
Click Access and then go to Rules > Rules.
-
Click Add Rule.
-
In the Name field, enter a unique name up to 64 characters long.
Special characters and spaces are allowed.
-
From the Type list, select OAuth Token Cache Time to Live.
-
If you want to cache the introspection of access tokens, click Cache Tokens.
-
In the Time to Live (s) field, specify the number of seconds to cache the introspection of the access token.
This value should be less than the token provider’s token lifetime. A value of -1 means no limit.
-
Click Save.