Bug when user taps 'cancel' from Universal Login prompt
Checklist
- [X] The issue can be reproduced in the react-native-auth0 sample app (or N/A).
- [X] I have looked into the Readme, Examples, and FAQ and have not found a suitable solution or answer.
- [X] I have looked into the API documentation and have not found a suitable solution or answer.
- [X] I have searched the issues and have not found a suitable solution or answer.
- [X] I have searched the Auth0 Community forums and have not found a suitable solution or answer.
- [X] I agree to the terms within the Auth0 Code of Conduct.
Description
I have a React Native w/ Expo app and have added the SDK. When the user logs in, the dialog pops up and if they hit cancel, they are repeatedly presented the modal until they hit continue. The UX of this is confusing, and often leads to upset users. Please see video for full demo.
https://github.com/user-attachments/assets/27e1b3bc-7d51-46d3-bf71-85e8f9e27e5b
Reproduction
- Launch app
- Hit login button
- Decide to cancel
- Be shown the modal until you hit Continue, hitting Cancel does nothing
Additional context
No response
react-native-auth0 version
^3.2.1
React Native version
0.73.6
Expo version
~50.0.19
Platform
Android, iOS
Platform version(s)
ios 17.2
Facing similar issue any idea about how we can avoid that prompt?
Hey @stuttskl @csanchez-nex sorry on the delayed response here.
Any chance you can share a sample code of how you are implementing this?
Also confirming this behavior is only in iOS correct?
@csanchez-nex you can avoid the prompt as mentioned here
Hi @stuttskl @csanchez-nex , Could you try the latest version of the SDK .It is working as expected .
https://github.com/user-attachments/assets/89da86e7-e2d7-484f-aec7-b3504a797671
Hi @stuttskl @csanchez-nex , Could you try the latest version of the SDK .It is working as expected . Screen.Recording.2025-02-06.at.5.13.02.PM.mov
Nice, I will try and update the thread. Thanks.