You do need this to get refresh_token
This commit is contained in:
parent
1eb185e7c7
commit
9b8d9b2270
@ -64,7 +64,7 @@ class PaperlessMailOAuth2Manager:
|
||||
self.gmail_client.get_authorization_url(
|
||||
redirect_uri=self.oauth_callback_url,
|
||||
scope=["https://mail.google.com/"],
|
||||
extras_params={"access_type": "offline"},
|
||||
extras_params={"prompt": "consent", "access_type": "offline"},
|
||||
),
|
||||
)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user