A CORS error appears in the console

Hi @MSK1116

Welcome to the Auth0 Community!

You can check out this community post regarding the CORS error that you are receiving.

As the solution mentions, it happens because the login is being served on a different origin than the one requesting it. In these scenarios, you must include the origin to your Allowed Web Origins and include your app’s origin URL in the Allowed Origins (CORS) of your application settings.

I would also recommend reading through our documentation about Configuring Cross-Origin Resource Sharing..

Let me know if you have any other questions!

Kind Regards,
Nik