Integration with WooCommerce

Hi, i am having trouble trying to integrate Login with Auth0 with wordpress. It works fine when a user registers with social accounts, but when a user tries to create an account with email and password, he is redirected to a blank page.
The console of the blank page says: “Access to XMLHttpRequest at ‘https://mydomain.eu.auth0.com/usernamepassword/challenge’ from origin ‘https://mydomain.com’ 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.”