alexmntmnk

Results 5 comments of alexmntmnk

I have a similar problem. When the Spring-gateway application sends a request to the authorization server with origin=null, I get a cors error as a result. Is this problem still...

I have no such problem with authorization. There's always an Origin header: http://localhost:4200 . Although redirects are also present. And the problem arises when sending a GET request, that's when...

> @fafeichter the recommendation is to set mode: "no-cors" in your client SPA, that should fix this issue. How do I enable this mode? Should it be enabled on Spring-GateWay?

If I do like this @Bean public Security Web Filter Chain springSecurityFilterChain(Server Http Security http, ServerLogoutSuccessHandler handler) { http.cors().disable() then I immediately get a cors error.

Is there any solution to this problem at the moment? Or how to get around it?