-
Hi, I'm using the spring-addons-webflux-jwt-resource-server pack, which works brilliantly. I'm configuring a Websocket using: Can you advise the best way to hook up a simple websocket endpoint while using the addon? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Starting from version P.S.At the age of virtual threads, I'd rather start from a servlet sample (the Also, I carefully avoid cross origins situations in my applications because requests from the frontends are authorized with |
Beta Was this translation helpful? Give feedback.
Starting from version
7.8.7
, CORS configuration is done with a global filter. Usage and default configuration overrides are described in the release notes. I just fixed thespring-addons-starter-oidc
README to document the new behavior.P.S.
At the age of virtual threads, I'd rather start from a servlet sample (the
webmvc
variants), because of the so much easier code debugging. I only use WebFlux when working with Spring Cloud Gateway - and when maintaining these samples.Also, I carefully avoid cross origins situations in my applications because requests from the frontends are authorized with
SameSite
cookies. I strongly advise that you take the time to read this article about the OAuth2…