redirect users back to TLD version of umap after 3rd party auth.
setting "SOCIAL_AUTH_REDIRECT_IS_HTTPS = True" per https://python-social-auth.readthedocs.io/en/latest/configuration/settings.html#processing-redirects-and-urlopen
This commit is contained in:
parent
956549e5da
commit
8f1de412b8
1 changed files with 1 additions and 0 deletions
|
@ -58,6 +58,7 @@ SOCIAL_AUTH_OPENSTREETMAP_SECRET = 'xxx'
|
||||||
MIDDLEWARE += (
|
MIDDLEWARE += (
|
||||||
'social_django.middleware.SocialAuthExceptionMiddleware',
|
'social_django.middleware.SocialAuthExceptionMiddleware',
|
||||||
)
|
)
|
||||||
|
SOCIAL_AUTH_REDIRECT_IS_HTTPS = True
|
||||||
SOCIAL_AUTH_RAISE_EXCEPTIONS = False
|
SOCIAL_AUTH_RAISE_EXCEPTIONS = False
|
||||||
SOCIAL_AUTH_BACKEND_ERROR_URL = "/"
|
SOCIAL_AUTH_BACKEND_ERROR_URL = "/"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue