Add whitelist for login redirect.

Use LOGIN_REDIRECT_WHITELIST to provide a whitelist of
additional domains to which login will now redirect.

ARCH-238
This commit is contained in:
Robert Raposa
2018-09-21 15:45:11 -04:00
parent e1d2169f70
commit 23b9cfd76c
5 changed files with 26 additions and 3 deletions

View File

@@ -228,6 +228,8 @@ CORS_ALLOW_CREDENTIALS = True
CORS_ORIGIN_WHITELIST = ()
CORS_ORIGIN_ALLOW_ALL = True
LOGIN_REDIRECT_WHITELIST = []
###################### JWTs ######################
JWT_AUTH.update({
'JWT_ISSUER': OAUTH_OIDC_ISSUER,