Auth0 Home Blog Docs

Phonegap callback url error



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 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 , 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] 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 auth0-cordova library.


Hi @jmangelo! I’m having problems with the phonegap login and right now the quickstart( returns 404! I would love to see that back up again.