Pijush2023 commited on
Commit
9323902
·
verified ·
1 Parent(s): 37c1521

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -842,6 +842,8 @@ authorization_base_url = 'https://accounts.google.com/o/oauth2/auth'
842
  token_url = 'https://accounts.google.com/o/oauth2/token'
843
  scope = ['https://www.googleapis.com/auth/userinfo.profile', 'https://www.googleapis.com/auth/userinfo.email']
844
 
 
 
845
  # Function to initiate the OAuth flow
846
  def login():
847
  google = OAuth2Session(GOOGLE_CLIENT_ID, scope=scope, redirect_uri=REDIRECT_URI)
 
842
  token_url = 'https://accounts.google.com/o/oauth2/token'
843
  scope = ['https://www.googleapis.com/auth/userinfo.profile', 'https://www.googleapis.com/auth/userinfo.email']
844
 
845
+ GOOGLE_CLIENT_ID=os.environ(['GOOGLE_CLIENT_ID'])
846
+
847
  # Function to initiate the OAuth flow
848
  def login():
849
  google = OAuth2Session(GOOGLE_CLIENT_ID, scope=scope, redirect_uri=REDIRECT_URI)