Passwordless and Mobile Webview


We have implemented Auth0 passwordless login for our app, but recently we are running an user-experience issue with mobile devices and Webview.

Here is an example workflow…

  1. Web app sent an transaction email to user with a private url and view an item.
  2. User opens that email in their mobile gmail app, and click on the link.
  3. The gmail app will open the private url in the Android WebView, which then redirect user to login.
  4. User then types in their email to receive a login “code” or “magic link”.
  5. Here is the problem - in order for user to copy/paste the code or to click on the magic link, they will need to navigate out of the Android WebView to go back to the gmail app, which cause the user to lose reference to the private url.

And since there is no way to avoid WebView programmatically, is there another way to workaround this type of scenario?

  1. Is there a way via Auth0.webauth to generate a login URL, so we can embed that in the email?
  2. Or is there another way to login w/o sending a “Code” or “Magic link”?

Please help!

We really like Auth0, but this could be a deal breaker where we have to rethink about our authentication flow.


Hi there @alaconda,

Does this happen for every android device or a specific model? When you get a chance can you direct message me your tenant name? Thanks in advance!

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