# Deep link from universal login page

**URL:** <https://community.auth0.com/t/deep-link-from-universal-login-page/201431>\
**Category:** Get Help\
**Tags:** react-native-auth0, sdks-quickstarts\
**Created:** [July 6, 2026, 3:00pm UTC](https://community.auth0.com/t/deep-link-from-universal-login-page/201431 "2026-07-06T15:00:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![csanna](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/csanna/32/79975_2.png) [@csanna](https://community.auth0.com/u/csanna)\
**Post date:** [July 6, 2026, 3:00pm UTC](https://community.auth0.com/t/deep-link-from-universal-login-page/201431/1 "2026-07-06T15:00:41Z")

</div>

Good morning,

I’m using the Classic Universal Login page with WebAuth to authenticate users in my React Native application.

On the login page, I have a **“Forgot username?”** button. For accessibility reasons, I want this button to open a **native flow** in my app instead of navigating to a web page.

I’ve tried using a custom URL scheme. However, when the login page redirects to my app, Auth0 returns **“Invalid callback URL”** , even though I’ve added the URL to the list of allowed callback URLs.

The only workaround I’ve found is:

1. Trigger the redirect.
2. Catch the exception returned by WebAuth.
3. Check whether the exception contains my `forgot-username` URL.
4. Close the WebAuth page.
5. Launch the native flow.

This works, but it feels very hacky and I’m worried it could break in a future update.

I also tried using Universal Links. The app correctly receives the link and opens the native flow, but I couldn’t find a way to programmatically close the WebAuth page afterward.

Has anyone implemented something similar? Is there a recommended way to launch a native flow from Classic Universal Login and properly dismiss the WebAuth browser without relying on exceptions?

Thank you for now, any suggestion is highly appreciated

---

<div class="post-metadata">

**Author:** ![gerald.czifra](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/gerald.czifra/32/75301_2.png) [@gerald.czifra](https://community.auth0.com/u/gerald.czifra)\
**Post date:** [July 6, 2026, 11:40pm UTC](https://community.auth0.com/t/deep-link-from-universal-login-page/201431/3 "2026-07-06T23:40:55Z")

</div>

Hi @csanna

Welcome to the Auth0 Community!

I understand that you are looking to have the “Forgot username?” button open a **native flow** in your application instead of navigating to a web page, using Classic Universal Login page with WebAuth.

Please allow us some time to research and we will update you with new information in a timely manner.

Thank you!  
Gerald
