When I call signInWithRedirect({ provider: 'Google' })
and I have previously logged into multiple google accounts, and I click back in my browser the getCurrentUser
function never resolves or rejects.
- Login to two different Google accounts
- run
yarn start --port 3000
- Open http://localhost:3000/ui/components/authenticator/sign-in-federated
- Click "Sign In"
- See multiple accounts on Google Accounts page
- Don't login, click the back button
- Notice that neither then nor catch resolves for getCurrentUser()
This was tested in both Chrome and Firefox