mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-01 13:14:16 +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
5e9b1612b6
commit
3f709b8b9c
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