Skip to content

Android Manifest not Setup to AutoVerify AppLinks in Expo #1354

@sethbuff

Description

@sethbuff

Checklist

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

  1. Update the Auth0 plugin to look like this:
[
        "react-native-auth0",
        {
          "domain": "{DOMAIN}",
          "customScheme": "https"
        }
]
  1. Update your authorize call to include customScheme: 'https'
  2. Build the app and install it
  3. Wait a couple minutes to let android verification do it's thing
  4. Login to the app
  5. 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

No one assigned

    Labels

    bugThis points to a verified bug in the code

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions