What is the default expiration given to an access token?

:male_detective:

How can I extend the length of time an access token has before it expires?

  • What is the default time assigned to an access token?
  • Should I use a refresh token?

Thanks Auth0 Community :heart:

Hey there!

Have you had a chance to visit that doc of ours?

  • The default Access Token Lifetime is 86400 seconds (24 hours)
  • The maximum Access Token Lifetime is 2592000 seconds (30 days)

and yes you should be also using Refresh Tokens :slight_smile:

More on that here: