Skip to content
Fides Configuration
Authenticating with OAuth
OAuth Token Expiration

Access token expiration

By default, access tokens expire after 11520 minutes (8 days). If you call the Fides API with an expired token, Fides will response with a 401 unauthorized response.

To specify a different expiration time (in minutes) set the OAUTH_ACCESS_TOKEN_EXPIRE_MINUTES environment variable, or the oauth_access_token_expire_minutes value in your fides.toml. Read the Configuration Guide to learn more.