This article explains the default and configurable lifetimes of Okta-minted JSON Web Tokens (JWT) for both Org and Custom Authorization Servers.
- OpenID Connect/OAuth 2.0 applications
- API Access Management
- JSON Web Tokens (JWT)
- Org Authorization Server
- Custom Authorization Server
- Default Custom Authorization Server
- Okta Classic Engine
The lifetime of a JWT depends on the type of authorization server that issued it.
Org Authorization Server
When using the built-in Org Authorization Server, the token lifetimes are hard-coded and cannot be modified. The values are as follows:
- ID Token: 60 minutes.
- Access Token: 60 minutes.
- Refresh Token: 90 days.
Custom Authorization Server
When using a Custom Authorization Server or the Default Custom Authorization Server, token lifetimes are configurable within specific ranges.
|
Token Type |
Minimum Lifetime |
Maximum Lifetime |
Configuration Method |
|
ID Token |
5 minutes |
24 hours | |
|
Access Token |
5 minutes |
24 hours | |
|
Refresh Token |
10 minutes |
Unlimited |
