CORS issue when redirecting front end application to the auth0 authentication using spring-boot

Hey,

I have been trying to setup auth0 with spring-boot application. The setup with the server seems correct as I can use the endpoints with the authentication using the browser. However, when I try to call the server through the front end I get net::ERR_FAILED 302. I have tried everything, configured both the WEB ORIGINS and the CORS to allow my front end application. Right now I can see the redirect happening from the server side but still get this error with discription -

has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.

I have the HAR files but I don´t know how to analyze them.

Any1 can help?

Thanks!