Skip to content

Commit

Permalink
Fixing google login redirect_url
Browse files Browse the repository at this point in the history
  • Loading branch information
stanislavsulc committed Jun 28, 2024
1 parent d434c4f commit 828d77d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webapi/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ def callback():
token_url, headers, body = client.prepare_token_request(
token_endpoint,
authorization_response=request.url,
redirect_url=str(GOOGLE_REDIRECT_URI).replace('login/callback', ''),
redirect_url=GOOGLE_REDIRECT_URI, # request.base_url str(GOOGLE_REDIRECT_URI)
code=code
)
token_response = requests.post(
Expand Down

0 comments on commit 828d77d

Please sign in to comment.