Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auth0 is stuck when the useSFSafariViewController is active on iOS #973

Open
6 tasks done
msKevin190 opened this issue Sep 19, 2024 · 0 comments
Open
6 tasks done
Labels
bug This points to a verified bug in the code

Comments

@msKevin190
Copy link

msKevin190 commented Sep 19, 2024

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

@msKevin190 msKevin190 added the bug This points to a verified bug in the code label Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This points to a verified bug in the code
Projects
None yet
Development

No branches or pull requests

1 participant