Update main.py
Browse files
main.py
CHANGED
@@ -26,8 +26,8 @@ oauth = OAuth()
|
|
26 |
# Configure OAuth registry
|
27 |
oauth.register(
|
28 |
name='google',
|
29 |
-
client_id='
|
30 |
-
client_secret='
|
31 |
access_token_url='https://accounts.google.com/o/oauth2/token',
|
32 |
authorize_url='https://accounts.google.com/o/oauth2/auth',
|
33 |
authorize_params=None,
|
|
|
26 |
# Configure OAuth registry
|
27 |
oauth.register(
|
28 |
name='google',
|
29 |
+
client_id=os.environ['GOOGLE_CLIENT_ID'],
|
30 |
+
client_secret=os.environ['GOOGLE_CLIENT_SECRET'],
|
31 |
access_token_url='https://accounts.google.com/o/oauth2/token',
|
32 |
authorize_url='https://accounts.google.com/o/oauth2/auth',
|
33 |
authorize_params=None,
|