Auth0 Home Blog Docs

ERROR: Failed by CORS. Behavior used for check: LEGACY

ionic
cors

#1

Hello everyone,

I am developing an ionic app and using auth0 service to implement the login and signup.
I have followed the Quick Start guide and when I have tried to test the login there is the following error in the log:
Type: Failed by CORS
Description: Origin http://localhost:8080 is not allowed. Behavior used for check: LEGACY

I have filled the field “Allowed Origins (CORS)” with http://localhost:8080 and it worked properly but I have already another app running and it is nos neccessary to add http://localhost:8080.

Can anyone help me to understand what is happeing?

I am using the Lock widget to implement the login.
I post some of my fields:
Allowed Callback URLs: DomainFromConfigFile://billand.eu.auth0.com/cordova/DomainFromConfigFile/callback
Allowed Origins (CORS): file://*

Thank you very much!