auth0/react-native-auth0

Auth0 is stuck when the useSFSafariViewController is active on iOS

msKevin190 opened this issue · 0 comments

Checklist

Description

Issue:
After updating React Native from version 0.71.x to 0.73.4, the login process in my application using Auth0 gets stuck and fails to proceed.

Details:

The app was functioning properly before the update.
After upgrading React Native, the login screen no longer transitions after credentials are submitted.
No specific error message is displayed, and the process seems to hang indefinitely.
Any assistance or guidance to resolve this issue would be appreciated.

the code is

auth0.webAuth
      .authorize(
        {
          audience: 'xxxxxxxxxx',
          scope: 'openid profile email offline_access',
          additionalParameters: { prompt: 'login' },
        },
        { ephemeralSession: false, useSFSafariViewController: {
            presentationStyle: 0,  
        } },
      )

Reproduction

  1. Activate the useSFSafariViewController
  2. try init session
  3. that's it

Additional context

No response

react-native-auth0 version

3.2.1

React Native version

0.74.3

Expo version

No response

Platform

iOS

Platform version(s)

17.x