ServletOAuth2AuthorizedClientExchangeFilterFunction has an implementation of CoreSubscriber that is used to propagate HttpServletRequest, HttpServletResponse and Authentication via the Reactor Context to ensure these objects are available across all reactive threads. This work has been delivered in #6483.

We should put together a minimal sample of the implementation of ServletOAuth2AuthorizedClientExchangeFilterFunction.RequestContextSubscriber for the purpose of having the Reactor team review the current implementation to validate if the approach is the most efficient and/or recommend a better/simpler implementation.

Comment From: jgrandja

This ticket is no longer valid as ServletOAuth2AuthorizedClientExchangeFilterFunction.RequestContextSubscriber was moved into SecurityReactorContextConfiguration.