adAstra144 commited on
Commit
4a31ace
·
verified ·
1 Parent(s): 53e454c

Update server.py

Browse files
Files changed (1) hide show
  1. server.py +2 -1
server.py CHANGED
@@ -19,7 +19,8 @@ google = oauth.register(
19
  server_metadata_url="https://accounts.google.com/.well-known/openid-configuration",
20
  client_kwargs={
21
  "scope": "openid email profile"
22
- }
 
23
  )
24
 
25
  @app.route("/")
 
19
  server_metadata_url="https://accounts.google.com/.well-known/openid-configuration",
20
  client_kwargs={
21
  "scope": "openid email profile"
22
+ },
23
+ userinfo_endpoint="https://www.googleapis.com/oauth2/v3/userinfo"
24
  )
25
 
26
  @app.route("/")