You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow to provide custom logoutTokenDecoderFactory in OidcBackChannelLogoutReactiveAuthenticationManager so we can provide a custom WebClient and can resolve a production connection issue.
We can work on creating PR for this, but we need some guidance for getting to a correct solution.
Current Behavior
We are seeing connection issues with long running HTTP connections to some of our OIDC providers. This shows as the following errors message in our logging:
i.n.c.u.Errors$NativeIoException: recv(..) failed: Connection reset by peer
Wrapped by: o.s.w.r.f.c.WebClientRequestException: recv(..) failed: Connection reset by peer
at o.s.w.r.f.c.ExchangeFunctions$DefaultExchangeFunction.lambda$wrapException$9(ExchangeFunctions.java:137)
Suppressed: r.c.p.FluxOnAssembly$OnAssemblyException:
Error has been observed at the following site(s):
*__checkpoint ⇢ Request to GET https://xxxx/.well-known/jwks.json [DefaultWebClient]
Similar issue in the login process is described here. There was a lot of discussion on how to resolve this, but there is now an option to create a custom ReactiveJwtDecoderFactory to validate ID token with a custom WebClient instance:
Expected Behavior
Allow to provide custom
logoutTokenDecoderFactory
inOidcBackChannelLogoutReactiveAuthenticationManager
so we can provide a custom WebClient and can resolve a production connection issue.We can work on creating PR for this, but we need some guidance for getting to a correct solution.
Current Behavior
We are seeing connection issues with long running HTTP connections to some of our OIDC providers. This shows as the following errors message in our logging:
Similar issue in the login process is described here. There was a lot of discussion on how to resolve this, but there is now an option to create a custom
ReactiveJwtDecoderFactory
to validate ID token with a customWebClient
instance:We would like to build similar functionality for the OIDC backchannel logout process but this cannot be accomplished because:
OidcBackChannelLogoutTokenValidator
is internal classlogoutTokenDecoderFactory
inOidcBackChannelLogoutReactiveAuthenticationManager
is not configurable now.Context
The text was updated successfully, but these errors were encountered: