fix: request google oauth refresh tokens

This commit is contained in:
lda
2026-06-13 04:54:21 +07:00 Verified
parent 85b2ca8bc7
commit 87a7cf9e86
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -80,6 +80,8 @@ class OAuthCodeLoginFlow:
authorization_url, state = client.create_authorization_url(
str(provider.auth_url),
redirect_uri=provider.redirect_uri,
access_type="offline",
prompt="consent",
)
if authorization_url_callback is not None:
callback_response = authorization_url_callback(authorization_url, state)