-
Notifications
You must be signed in to change notification settings - Fork 231
Open
Labels
bugThis points to a verified bug in the codeThis points to a verified bug in the code
Description
Checklist
- The issue can be reproduced in the react-native-auth0 sample app (or N/A).
- I have looked into the Readme, Examples, and FAQ and have not found a suitable solution or answer.
- I have looked into the API documentation and have not found a suitable solution or answer.
- I have searched the issues and have not found a suitable solution or answer.
- I have searched the Auth0 Community forums and have not found a suitable solution or answer.
- I agree to the terms within the Auth0 Code of Conduct.
Description
Out app is an Expo app utilizing this package along with it's Expo plugin.
When utilizing app links on android to redirect back to the app once login has completed, the app does not redirect back as expected.
I have other App Links set up and those are working as expected.
To get this to work, I have to manually go into the android devices settings and manually select my Auth0 domain in the Open by default settings for my app.
Once the domain is selected, everything works as expected.
My AppLinks that do work have android:autoVerify="true" in the intent-filter, I believe the Auth0 plugin needs to be updated to include this.
Reproduction
- Update the Auth0 plugin to look like this:
[
"react-native-auth0",
{
"domain": "{DOMAIN}",
"customScheme": "https"
}
]- Update your
authorizecall to includecustomScheme: 'https' - Build the app and install it
- Wait a couple minutes to let android verification do it's thing
- Login to the app
- The app should get stuck on an Auth0 page that doesn't exist that is supposed to get redirected back to the app
Additional context
No response
react-native-auth0 version
5.0.1
React Native version
0.81.5
Expo version
54.0.17
Platform
Android
Platform version(s)
14
Metadata
Metadata
Assignees
Labels
bugThis points to a verified bug in the codeThis points to a verified bug in the code