-
Couldn't load subscription status.
- Fork 6.2k
Closed
Labels
in: oauth2An issue in OAuth2 modules (oauth2-core, oauth2-client, oauth2-resource-server, oauth2-jose)An issue in OAuth2 modules (oauth2-core, oauth2-client, oauth2-resource-server, oauth2-jose)status: duplicateA duplicate of another issueA duplicate of another issuetype: enhancementA general enhancementA general enhancement
Description
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)An issue in OAuth2 modules (oauth2-core, oauth2-client, oauth2-resource-server, oauth2-jose)status: duplicateA duplicate of another issueA duplicate of another issuetype: enhancementA general enhancementA general enhancement