After successful authentication auth0 does not redirect to my app

I have integrated Auth0 in my MAUI app.
Followed this - Add Authentication to .NET MAUI Apps with Auth0
It was redirecting to my app after auth0 login. I customized password reset email. After that it stopped redirecting to my app after Auth0 login screen. It stays on the screen.

If I restart my app it open app with login success.

Hi @k.oak,

Welcome to the Auth0 Community!

If your MAUI app is no longer redirecting after the Auth0 login screen, consider the following steps to resolve the issue:

  • Ensure that the Callback URL in your Auth0 application settings is correctly set to myapp://callback. If you customized the URL, make sure it matches the one used in your app.
  • Ensure that the changes made to the Reset Password Flow did not inadvertently affect the authentication flow or the callback URL settings.
  • Since you are testing this app on Android, verify that the WebAuthenticatorActivity is correctly implemented to handle the callback URL. Ensure that the CALLBACK_SCHEME is set to myapp.
  • Look for any error messages or logs that might indicate what is happening during the redirection process. This can provide insights into any misconfigurations.
  • If possible, test the redirection with a sample application configured with your Auth0 settings to determine if the issue is specific to your app or a broader configuration problem.

If you have any updates, feel free to reach out.

Have a good one,
Vlad