Changing token duration

Overview


After changing "token duration" settings on an Authlete service that has been issuing tokens, Authlete will:
  • Preserve duration settings for tokens previously issued
  • Apply the new duration settings for tokens to be issued after the change
This article explains how the settings affect access tokens and refresh tokens.

Access Tokens


The new duration settings are to be applied on (re)issuing access tokens on token requests with various grant types including refresh token grant.

Refresh Tokens


The change may affect refresh tokens based on "Refresh Token Continuous Use" settings.
  • If "Kept" is selected, the new duration won't be effective until the existing refresh token is expired and reissued.
  • If "Not kept" is selected, the new duration is effective for a new refresh token that is to be issued along with a new access token on refresh token grant (using the old refresh token).

See Also


How did we do with this article?