(20241204) Solving gmail scopes problem x2
This commit is contained in:
@@ -140,8 +140,7 @@ 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"]
|
scopes = g.inbound_data["scope"]
|
||||||
scopes = SCOPES_GMAIL_MAIL_MANAGEMENT
|
|
||||||
)
|
)
|
||||||
|
|
||||||
if tokens:
|
if tokens:
|
||||||
|
|||||||
Reference in New Issue
Block a user