(20241204) Trying to solve scope x5

This commit is contained in:
2024-12-04 16:54:55 +05:30
parent fc49bd5772
commit 0918db250b
+2 -1
View File
@@ -140,7 +140,8 @@ async def handle_gmail_callback() -> render_template:
# achieved by 'request.url' like this: # achieved by 'request.url' like this:
tokens = await current_app.gmail_client.get_authorization_tokens( tokens = await current_app.gmail_client.get_authorization_tokens(
redirect_url = request.url, redirect_url = request.url,
scopes = g.inbound_data["scope"].split(" ") # scopes = g.inbound_data["scope"].split(" ")
scopes = None
) )
if tokens: if tokens: