settings: fix oauth_redirect_is_http

This commit is contained in:
radex 2023-08-21 21:36:44 +02:00
parent 20303a14a7
commit cc3fddfd22
2 changed files with 2 additions and 1 deletions

View File

@ -13,3 +13,4 @@ services:
# - SPEJSTORE_SECRET=
# - SPEJSTORE_MEDIA_ROOT=
# - SPEJSTORE_REQUIRE_AUTH=true
- SPEJSTORE_OAUTH_REDIRECT_IS_HTTPS=false

View File

@ -204,7 +204,7 @@ REST_FRAMEWORK = {
SOCIAL_AUTH_HSWAW_KEY = env("CLIENT_ID")
SOCIAL_AUTH_HSWAW_SECRET = env("SECRET")
SOCIAL_AUTH_REDIRECT_IS_HTTPS = env("OAUTH_REDIRECT_IS_HTTPS", PROD)
SOCIAL_AUTH_REDIRECT_IS_HTTPS = env("OAUTH_REDIRECT_IS_HTTPS", "true") == "true"
SOCIAL_AUTH_JSONFIELD_ENABLED = True