Redirect Issue after upgrading to version 4.0.0 from 2.17.1

Hello all,

Recently updated react-native-auth0 to version 4.0.0 and react-native to 0.74.

Now when I am trying to login to application using universal login, it is able to get login success log at auth0 logs. But in reality the login is not redirecting back to app.

Help is highly appreciated as it is blocking us for production deployment.

If you need any additional info please let me know.

HI @akaushik,

Welcome to the Auth0 Community!

I understand your app is not redirecting after login after updating your react-native-auth0 and react-native versions. I took a look at the prod tenant under your account and see a few logs with “Callback URL mismatch” descriptions. You can view these by filtering logs by type f. When this error occurs, you need to add the URL provided in that error description to the Allowed Callback URLs field in the application’s settings.

If the issue persists and continues to be an urgent matter, please submit an Urgent support case here: https://support.auth0.com/. This case will likely require the review of a HAR file and sending them through the support center automatically sanitizes them.

Thanks,

Mary Beth

1 Like

Thank you for your prompt response. Regarding the Stage tenant issue, I followed the steps you mentioned, including adding the missing callbacks.

However, when attempting to log in using a previously cached account, the screen remains blank.

Additionally, if the account is not cached in Chrome, the screen gets stuck where its successfully validated.

In both scenarios, the login process doesn’t proceed.

Furthermore, when checking the getCredentials method from useAuth0(), it returns undefined, even though the Auth0 logs indicate a successful login.

The callback URLs are configured according to the documentation.

Please let me know if you require any additional details.