Add application-scoped access tokens for reactive OAuth2 client#18774
Add application-scoped access tokens for reactive OAuth2 client#18774jyx-07 wants to merge 1 commit intospring-projects:mainfrom
Conversation
…2 client Signed-off-by: C0ng_yun <s25069@gsm.hs.kr>
ea08448 to
d59ab13
Compare
|
I believe |
|
Thanks for pointing this out. In this example, the WebClient is configured with Since this grant type does not involve a user, the token is ServerOAuth2AuthorizedClientExchangeFilterFunction is used here |
|
I agree with @thladsb. I was hoping for an example similar to Use the Client Credentials Grant, specifically the part demonstrating |
Closes #17129
Problem
The Spring Security documentation explains how to use application-scoped
access tokens (Client Credentials grant) for servlet applications, but
there was no equivalent documentation for reactive applications.
Solution
Add a new section to the reactive OAuth2 client authorization-grants
documentation that shows how to configure WebClient with
AuthorizedClientServiceReactiveOAuth2AuthorizedClientManager for
application-scoped (non-user-scoped) access tokens.
Changes
Application-Scoped Access Tokens" to authorization-grants.adoc