Redirect during login to /authorize does not contain origin (Spring Security, CORS)

So, I’m configuring a spring security (well it spring boot security starter) app, and trying to login using Auth0. From my App I contact the login page and from there it redirects to authorize and then that request gets cancelled due to a null origin. Any Ideas?