settings: make redirect_is_https configurable separate from prod
This commit is contained in:
parent
6cd7ec529b
commit
ee9e9becf5
|
@ -204,7 +204,7 @@ REST_FRAMEWORK = {
|
||||||
|
|
||||||
SOCIAL_AUTH_HSWAW_KEY = env("CLIENT_ID")
|
SOCIAL_AUTH_HSWAW_KEY = env("CLIENT_ID")
|
||||||
SOCIAL_AUTH_HSWAW_SECRET = env("SECRET")
|
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
|
SOCIAL_AUTH_JSONFIELD_ENABLED = True
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue