auth0 / react-native-auth0

React Native toolkit for Auth0 API
https://auth0.com
MIT License
498 stars 210 forks source link

Bug when user taps 'cancel' from Universal Login prompt #970

Open stuttskl opened 2 months ago

stuttskl commented 2 months ago

Checklist

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

  1. Launch app
  2. Hit login button
  3. Decide to cancel
  4. 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

csanchez-nex commented 1 month ago

Facing similar issue any idea about how we can avoid that prompt?