From ee9e9becf51d57aff88b688b2ce46863a0f45f63 Mon Sep 17 00:00:00 2001 From: radex Date: Fri, 18 Aug 2023 15:28:57 +0200 Subject: [PATCH] settings: make redirect_is_https configurable separate from prod --- spejstore/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spejstore/settings.py b/spejstore/settings.py index 6d22cab..286957d 100644 --- a/spejstore/settings.py +++ b/spejstore/settings.py @@ -204,7 +204,7 @@ REST_FRAMEWORK = { SOCIAL_AUTH_HSWAW_KEY = env("CLIENT_ID") SOCIAL_AUTH_HSWAW_SECRET = env("SECRET") -SOCIAL_AUTH_REDIRECT_IS_HTTPS = PROD +SOCIAL_AUTH_REDIRECT_IS_HTTPS = env("OAUTH_REDIRECT_IS_HTTPS", PROD) SOCIAL_AUTH_JSONFIELD_ENABLED = True