Relative Content

Tag Archive for javaspring-bootspring-securityspring-webfluxspring-security-oauth2

Error with CodecException when using Spring WebFlux with Spring Security OAuth2

I’m developing a web application using Spring WebFlux and Spring Security with OAuth2 with KeyClock as third-party authorization. When trying to access any endpoint with a valid JWT Token, as it is a valid token, I don’t get forbidden, instead, I get a CodecException related to a type definition error saying that the ServerHttpResponse already committed a response. Here is the error log: