Skip to content

Allow customization of WebClient used by SpringReactiveOpaqueTokenIntrospector #17194

Closed
@pinguet62

Description

@pinguet62

Expected Behavior

Allow custimization of WebClient used by SpringReactiveOpaqueTokenIntrospector.

Current Behavior

SpringReactiveOpaqueTokenIntrospector uses a basic WebClient:

WebClient.builder() /*setBasicAuth*/ .build()

Context

I have to add some behaviors to its WebClient: retry, metrics, ...

Previously I used the SpringReactiveOpaqueTokenIntrospector(String introspectionUri, WebClient webClient) constructor.
But now it's deprecated...

I think it can be done easily by adding a withWebClientBuilder(WebClient.Builder webClientBuilder) to its Builder.

Please let me know if it's a good idead!?

Metadata

Metadata

Assignees

Labels

in: oauth2An issue in OAuth2 modules (oauth2-core, oauth2-client, oauth2-resource-server, oauth2-jose)status: duplicateA duplicate of another issuetype: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions