Skip to content

Commit

Permalink
[Bug #160251576] Add google client id to env variables
Browse files Browse the repository at this point in the history
  • Loading branch information
Allan Guwatudde authored and Allan Guwatudde committed Sep 4, 2018
1 parent ad3ff6c commit 4a7f128
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion authors/apps/authentication/social_auth/google_auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class GoogleValidation:
@staticmethod
def validate_google_token(google_token):

CLIENT_ID = "341988301600-odl0nb10vaim96gsdhpa6vun7iog5pl0.apps.googleusercontent.com"
CLIENT_ID = os.getenv('CLIENT_ID')

try:
idinfo = id_token.verify_oauth2_token(google_token, requests.Request(), CLIENT_ID)
Expand Down

0 comments on commit 4a7f128

Please sign in to comment.