Omkar008 commited on
Commit
fc8d3a9
1 Parent(s): 1e7850e

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +2 -1
main.py CHANGED
@@ -48,9 +48,10 @@ async def login_google():
48
  @app.get("/test")
49
  async def test_google(code:str):
50
 
51
- token_url = "https://accounts.google.com/o/oauth2/token"
52
  print("Printing authorisation token")
53
  print(code)
 
54
  data = {
55
  "code": code,
56
  "client_id": GOOGLE_CLIENT_ID,
 
48
  @app.get("/test")
49
  async def test_google(code:str):
50
 
51
+ # token_url = "https://accounts.google.com/o/oauth2/token"
52
  print("Printing authorisation token")
53
  print(code)
54
+ token_url="https://oauth2.googleapis.com/token"
55
  data = {
56
  "code": code,
57
  "client_id": GOOGLE_CLIENT_ID,