Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gh 16165: Fix OAuth2 documentation: Correct OAuth2ClientHttpRequestInterceptor usage #16171

Closed
wants to merge 3 commits into from

Conversation

harpreets789
Copy link
Contributor

The code example in the "Access Protected Resources for the Current User" -> "Configure RestClient with ClientHttpRequestInterceptor" section was incorrect. Updated the example to use the correct OAuth2ClientHttpRequestInterceptor constructor and added a call to setClientRegistrationIdResolver. This ensures accurate usage of the API.

Closes gh-16165

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Nov 26, 2024
@harpreets789 harpreets789 deleted the gh-16165 branch November 26, 2024 13:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: waiting-for-triage An issue we've not yet triaged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Code example in documentation is incorrect
2 participants