Skip to content

Commit

Permalink
Modified
Browse files Browse the repository at this point in the history
  • Loading branch information
vinayjain18 committed Jul 30, 2024
1 parent 5b80a85 commit 52b1e0d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion fluence/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,13 @@
SOCIAL_AUTH_GOOGLE_OAUTH2_SECRET = os.getenv("CLIENT_SECRET")

# Social Auth settings
SOCIAL_AUTH_REDIRECT_IS_HTTPS = True
# SOCIAL_AUTH_REDIRECT_IS_HTTPS = True

SOCIAL_AUTH_GOOGLE_OAUTH2_SCOPE = ['email', 'profile']

SOCIAL_AUTH_URL_NAMESPACE = 'social'

LOGIN_URL = '/auth/login/google-oauth2/'
LOGIN_REDIRECT_URL = '/'
LOGOUT_REDIRECT_URL = '/'

Expand Down

0 comments on commit 52b1e0d

Please sign in to comment.