This rule allows the global OAuth token cache configuration to be selectively overridden for specific applications or resources.

  1. Click Access and then go to Rules > Rules.
  2. Click + Add Rule.
  3. In the Name field, enter a unique name up to 64 characters long.

    Special characters and spaces are allowed.

  4. From the Type list, select OAuth Token Cache Time to Live.
  5. If you want to cache the introspection of access tokens, click Cache Tokens.
  6. 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.

  7. Click Save.