Spaces:
Sleeping
Sleeping
Update test.py
Browse files
test.py
CHANGED
@@ -30,7 +30,7 @@ async def login_google():
|
|
30 |
|
31 |
webbrowser.open(oauth_url)
|
32 |
return {
|
33 |
-
f"https://accounts.google.com/o/oauth2/auth?response_type=code&client_id={GOOGLE_CLIENT_ID}&redirect_uri={GOOGLE_REDIRECT_URI}&scope=openid%20profile%20email&access_type=offline"
|
34 |
}
|
35 |
|
36 |
@app.get("/auth/google")
|
|
|
30 |
|
31 |
webbrowser.open(oauth_url)
|
32 |
return {
|
33 |
+
"url":f"https://accounts.google.com/o/oauth2/auth?response_type=code&client_id={GOOGLE_CLIENT_ID}&redirect_uri={GOOGLE_REDIRECT_URI}&scope=openid%20profile%20email&access_type=offline"
|
34 |
}
|
35 |
|
36 |
@app.get("/auth/google")
|