(20241204) Trying to solve Gmail's scopes

This commit is contained in:
2024-12-04 16:52:12 +05:30
parent cbe4a79815
commit fc49bd5772
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -140,7 +140,7 @@ async def handle_gmail_callback() -> render_template:
# achieved by 'request.url' like this:
tokens = await current_app.gmail_client.get_authorization_tokens(
redirect_url = request.url,
scopes = g.inbound_data["scope"]
scopes = g.inbound_data["scope"].split(" ")
)
if tokens: