WebClient with DefaultOAuth2AuthorizedClientManager is working for integration test but not for main runtime
I have a WebClient configured as below. In main runtime, webClient is used in a kafka listener started thread. So out of http servlet context. And it is failing as I noticed we should use AuthorizedClientServiceOAuth2AuthorizedClientManager
to use it out of http servlet context.
Spring Security – adding extra / custom attributes to Auth Server Introspection endpoint response
I’m implemeting a secure login feature with Spring Security.
I decided to go down the opaque token route (rather than JWT route)
BoundMismatch while returning JWKSource instance , ImmutableJWKSet(jwkset)
Error 1 : Bound mismatch: The type SecurityContext is not a valid substitute for the bounded parameter of the type JWKSource