Auth0 Home Blog Docs

Problem with my app when clean data

Hi !

I have a problem in the example of authCordova, when I install my apk with the example code, this testing app works right, but when in the settings of my phone clean data of the app, when I try running the login again, i have a error in the console:

Access to XMLHttpRequest at ‘https://xxxxxxxx/oauth/token’ from origin ‘file://’ has been blocked by CORS policy: Response to preflight request doesn’t pass access control check: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.

And in headers of the request, there is not origin, this case is happening with the demo example of Auth0 Cordova.