Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
test
Browse files
app.py
CHANGED
@@ -61,6 +61,7 @@ async def auth(request: Request):
|
|
61 |
try:
|
62 |
access_token = await oauth.google.authorize_access_token(request)
|
63 |
except OAuthError:
|
|
|
64 |
return RedirectResponse(url='/')
|
65 |
request.session['user'] = dict(access_token)["userinfo"]
|
66 |
print("Redirecting to /gradio")
|
|
|
61 |
try:
|
62 |
access_token = await oauth.google.authorize_access_token(request)
|
63 |
except OAuthError:
|
64 |
+
print("Error getting access token", str(OAuthError))
|
65 |
return RedirectResponse(url='/')
|
66 |
request.session['user'] = dict(access_token)["userinfo"]
|
67 |
print("Redirecting to /gradio")
|