settings: fix oauth_redirect_is_http
This commit is contained in:
parent
20303a14a7
commit
cc3fddfd22
|
@ -13,3 +13,4 @@ services:
|
|||
# - SPEJSTORE_SECRET=
|
||||
# - SPEJSTORE_MEDIA_ROOT=
|
||||
# - SPEJSTORE_REQUIRE_AUTH=true
|
||||
- SPEJSTORE_OAUTH_REDIRECT_IS_HTTPS=false
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue