-
Notifications
You must be signed in to change notification settings - Fork 231
Description
Checklist
- The issue can be reproduced in the react-native-auth0 sample app (or N/A).
- I have looked into the Readme, Examples, and FAQ and have not found a suitable solution or answer.
- I have looked into the API documentation and have not found a suitable solution or answer.
- I have searched the issues and have not found a suitable solution or answer.
- I have searched the Auth0 Community forums and have not found a suitable solution or answer.
- I agree to the terms within the Auth0 Code of Conduct.
Description
On iOS, the web view no longer seems to retain any history of the accounts I'm already logged into. In 5.0.0-beta.1 with additionalParameters: { prompt: "login" }
specified I could sign into Auth0 via a Google account, sign out of Auth0, and then the next time I tried to sign in via Google it would let me choose the Google account I previously signed into. But as of beta.3 I need to sign in with my Google username/password each time.
(Videos attached showing beta 1 and beta 3 behavior)
Before | After |
---|---|
auth0.login.beta1.mp4 |
auth0.login.beta3.mp4 |
Reproduction
- Clone this branch locally: https://github.com/CodingItWrong/react-native-auth0/tree/beta-3-login-issue
- Follow instructions to set up Auth0 app config pointing to a config with Google social login and install and run app
- Sign into a google account
- Tap "Log Out" to sign back out of Auth0
- Sign in again
EXPECTED: Google shows a list including the previously-signed-in account and "Use another account"
ACTUAL: Google prompts for username/email address
Additional context
In 5.0.0 beta 1 the expected behavior happens. It's only in 5.0.0 beta 3 that this problem begins. It looks like maybe a change to the way the web view works was made, because in the real app I'm using this in as of beta 3 I no longer get the iOS permissions alert "app wants to sign in" etc.
react-native-auth0 version
5.0.0-beta.3
React Native version
0.79.2
Expo version
53.0.9
Platform
iOS
Platform version(s)
18.5