When calling WebAuthProvider.login(account) the login form appears correctly and after enterring my login information and proceeding, the page shows “Not found.” at the top left corner and it does not return to the app. This scenario happens only on my Samsung S20 (running Android 12, kernel 4.19.87-24107789, build SP1A.210812.016.G980FXXUEFVDB).
I’ve tried multiple Android simulators running Android 12, 11 and 10 – and all login correctly and return to the app as expected. The same code also works on an older Android device running Android 7.
I was able to reproduce the issue only on the S20.
I’ve tried reinstalling the app, rebooting the device and clearing Chrome’s cookies but nothing helped, unfortunately.
No problem, happy to help! Thanks for following up here
I agree with you on this in that it would be surprising to me if this was related to your Auth0 configuration given it works everywhere else.
Out of curiosity, did you change this in the sample app? It’s set to use auth0Scheme: "demo" by default. In testing on my personal device (Pixel 5a Android 12) I run into the not found issue when I set the scheme to https, but it works fine if I set it to a custom scheme like “demo” which the sample apps use by default. This is helpful:
Changing the auth0Scheme solved my problem! Looks like the newer Android versions do not like auth0Scheme to be set to “https”.
A suggestion: updating your official documentation might help for future developers, right now it explicitly states to use “https” for auth0Scheme (which I was following initially when integrating Auth0 into our app). Here specifically: Auth0.Android