# Is it supported to use an Auth0 custom domain for Universal Login (login.brand.fit) while using a different domain (brand.fit) for Android App Links redirect ca

**URL:** <https://community.auth0.com/t/is-it-supported-to-use-an-auth0-custom-domain-for-universal-login-login-brand-fit-while-using-a-different-domain-brand-fit-for-android-app-links-redirect-ca/197976>\
**Category:** Get Help\
**Tags:** custom-domains-flows, branding\
**Created:** [March 9, 2026, 10:49pm UTC](https://community.auth0.com/t/is-it-supported-to-use-an-auth0-custom-domain-for-universal-login-login-brand-fit-while-using-a-different-domain-brand-fit-for-android-app-links-redirect-ca/197976 "2026-03-09T22:49:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ansabvk122](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ansabvk122/32/78678_2.png) [@ansabvk122](https://community.auth0.com/u/ansabvk122)\
**Post date:** [March 9, 2026, 10:49pm UTC](https://community.auth0.com/t/is-it-supported-to-use-an-auth0-custom-domain-for-universal-login-login-brand-fit-while-using-a-different-domain-brand-fit-for-android-app-links-redirect-ca/197976/1 "2026-03-09T22:49:46Z")

</div>

We are implementing authentication in a **React Native Android mobile app** using a **hosted login page with a custom authentication domain**.

Our setup looks like this:

- Hosted login domain:  
`https://login.example.com`

- Mobile deep link domain:  
`https://example.com`

The mobile app starts authentication using the hosted login page on the custom auth domain.  
After login, the user should be redirected back to the app using an HTTPS deep link like:

```auto
https://example.com/android/com.example.app/callback

```

Android App Links are configured for this domain, and the verification file is hosted at:

```auto
https://example.com/.well-known/assetlinks.json

```

This is required because we **cannot host verification files on the authentication domain**.

### Question

Is it a supported or recommended approach to:

- use the **authentication domain for the hosted login page**

- and a **different domain for the mobile redirect/deep link**

Are there any additional configuration steps required to support this architecture?

We want to ensure this setup follows recommended best practices for mobile authentication flows.

---

<div class="post-metadata">

**Author:** ![JFoxUK](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jfoxuk/32/78058_2.png) [@JFoxUK](https://community.auth0.com/u/JFoxUK)\
**Post date:** [March 9, 2026, 11:02pm UTC](https://community.auth0.com/t/is-it-supported-to-use-an-auth0-custom-domain-for-universal-login-login-brand-fit-while-using-a-different-domain-brand-fit-for-android-app-links-redirect-ca/197976/2 "2026-03-09T23:02:03Z")

</div>

Hello!

Those do not need to be the same host. Auth0 only requires that the redirect\_uri you send in the authorization request is registered as an Allowed Callback URL, and that it matches exactly. Auth0 also recommends using claimed HTTPS callback URIs like Android App Links for native apps rather than custom URI schemes.

> **[Measures Against Application Impersonation - Auth0 Docs](https://auth0.com/docs/secure/security-guidance/measures-against-app-impersonation)**
>
> Describes how to use universal links rather than custom URL schemes to verify the legitimacy of authentication data.

---

<div class="post-metadata">

**Author:** ![nik.baleca](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/nik.baleca/32/68749_2.png) [@nik.baleca](https://community.auth0.com/u/nik.baleca)\
**Post date:** [March 16, 2026, 4:27pm UTC](https://community.auth0.com/t/is-it-supported-to-use-an-auth0-custom-domain-for-universal-login-login-brand-fit-while-using-a-different-domain-brand-fit-for-android-app-links-redirect-ca/197976/4 "2026-03-16T16:27:28Z")

</div>

Hi @ansabvk122

Welcome to the Auth0 Community!

As @JFoxUK mentioned, you would be required to configure the necessary domain/links under the `Allowed Callback URLs` list in the Auth0 Application’s settings.

Since you mentioned that you are using React Native, an additional thing you need to consider is that traditionally, the `redirectUri` uses the predefined Auth0 domain. Just make sure that you are passing the correct `redirectUri` in your authorization requests.

If you have any other questions, let me know!

Kind Regards,  
Nik

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [March 30, 2026, 4:28pm UTC](https://community.auth0.com/t/is-it-supported-to-use-an-auth0-custom-domain-for-universal-login-login-brand-fit-while-using-a-different-domain-brand-fit-for-android-app-links-redirect-ca/197976/5 "2026-03-30T16:28:16Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
