(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:
Eben Freeman 2015-09-26 19:50:11 -07:00
parent e74981502e
commit 863a1313a3

View file

@ -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)