From 08cb9fc03f4b218a0b0481f07e50b16bb9a86386 Mon Sep 17 00:00:00 2001 From: jsa Date: Wed, 13 Jan 2016 10:26:54 -0500 Subject: [PATCH] Set default id token expiration to 5m for Studio --- cms/envs/common.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cms/envs/common.py b/cms/envs/common.py index b7b0c0c76e..c47776aaf7 100644 --- a/cms/envs/common.py +++ b/cms/envs/common.py @@ -1142,3 +1142,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