oauth2/oauth2-client/src/main/java/org/springframework/security/oauth2/client/web/reactive/function/client/ServletOAuth2AuthorizedClientExchangeFilterFunction.java
public static Consumer<Map<String, Object>> httpServletRequest(HttpServletRequest request) {
		return attributes -> attributes.put(HTTP_SERVLET_REQUEST_ATTR_NAME, request);
	}
public static Consumer<Map<String, Object>> httpServletRequest(HttpServletRequest request) {
		return attributes -> attributes.put(HTTP_SERVLET_REQUEST_ATTR_NAME, request);
	}
Modifies the {@link ClientRequest#attributes()} to include the {@link HttpServletRequest} used to
look up and save the {@link OAuth2AuthorizedClient}. The value is defaulted in
{@link ServletOAuth2AuthorizedClientExchangeFilterFunction#defaultRequest()}

@param request the {@link HttpServletRequest} to use.
@return the {@link Consumer} to populate the attributes