I am getting an error after I log in with the Hosted Login Pages on my phonegap application. The error is ‘The web page at https://myautho.auth0.com/login/callback could not be loaded because net::ERR_UNSAFE_REDIRECT’. This happens to username and password and also social log ins. My call back url as in the tutorial is , https://myautho.auth0.com/mobile and file:///android_asset/www/index.html.
I’m assuming you’re referring to the Phonegap quickstart, if that’s the case then the only callback URL mentioned in it would be
https://[your_domain].auth0.com/mobile. I did not find any mention of using
file:///android_asset/www/index.html as a callback URL; it does mention using
file://\* in CORS allowed origing, but not on callback URL’s. Another point is that the quickstart in question is community maintained and I have some doubts about if it’s strictly up to date as my expectation would be that it should be using something based on