diff --git a/cms/envs/common.py b/cms/envs/common.py index 7d6d853834..f41f81b9d6 100644 --- a/cms/envs/common.py +++ b/cms/envs/common.py @@ -1161,3 +1161,6 @@ PROCTORING_SETTINGS = {} # OpenID Connect issuer ID. Normally the URL of the authentication endpoint. OAUTH_OIDC_ISSUER = 'https://www.example.com/oauth2' + +# 5 minute expiration time for JWT id tokens issued for external API requests. +OAUTH_ID_TOKEN_EXPIRATION = 5 * 60