react-native-auth0 icon indicating copy to clipboard operation
react-native-auth0 copied to clipboard

Bug when user taps 'cancel' from Universal Login prompt

Open stuttskl opened this issue 1 year ago • 1 comments

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

stuttskl avatar Sep 10 '24 14:09 stuttskl

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

csanchez-nex avatar Oct 10 '24 18:10 csanchez-nex

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?

poovamraj avatar Jan 18 '25 18:01 poovamraj

@csanchez-nex you can avoid the prompt as mentioned here

poovamraj avatar Feb 05 '25 11:02 poovamraj

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

pmathew92 avatar Feb 06 '25 12:02 pmathew92

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.

stuttskl avatar Feb 08 '25 00:02 stuttskl