Token Settings

The token related settings control access tokens as well as refresh tokens. These settings can be used to used to change the length of the token as well as their expiry time.

Token Length

  • Navigate to the Configurations tab.
  • Under the General Settings section, you can find the Token Length option.
    token-length-settings
  • This setting controls the length of both, access token as well as refresh token.
  • The default length is set to 64.

NOTE:

  • This number denotes the maximum number of bytes to be used.
  • Maximum length is 255 as OAuth Standard only supports 128 character long tokens.
    1 character is equivalent to 2 bytes

Token Expiry

This setting denotes the time after which the token will expire.

  • Navigate to the Configurations tab.
  • Under the General Settings section, you can find the Token Length option.
    token-expiry-settings

Access Token Expiry

  • The default setting is set to 3600 seconds, which is a standard time for expiry

Refresh Token Expiry

  • The default setting is set to 1209600 seconds