(20241204) Trying to solve scope x5
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user