Skip to content

Websockets with com.c4-soft.springaddons:spring-addons-webflux-jwt-resource-server #224

Answered by ch4mpy
virtex-br asked this question in Q&A
Discussion options

You must be logged in to vote

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 the spring-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…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@virtex-br
Comment options

@ch4mpy
Comment options

Answer selected by virtex-br
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants