mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-11 18:32:20 +08:00
(fix)onboarding: Must pass approval_prompt=force for Google OAuth
Otherwise, if you've ever previously authorized your account against Edgehill's Google client ID but need to reconnect it, the consent page is bypassed and no refresh token is returned to the callback URL, breaking the rest of the flow.
This commit is contained in:
parent
e74981502e
commit
863a1313a3
1 changed files with 1 additions and 0 deletions
|
@ -85,6 +85,7 @@ class AccountChoosePage extends React.Component
|
|||
https://mail.google.com/ \
|
||||
https://www.google.com/m8/feeds \
|
||||
https://www.googleapis.com/auth/calendar'
|
||||
approval_prompt: 'force'
|
||||
})
|
||||
shell.openExternal(googleUrl)
|
||||
|
||||
|
|
Loading…
Reference in a new issue