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

[ISSUE] UnAuthenticatedServerOAuth2AuthorizedClientRepository is deprecated #15310

Open
GCHQDeveloper926 opened this issue Nov 27, 2023 · 1 comment
Labels
on-jira triaged Issues reviewed by a dev and considered valid. Will be added in Jira.

Comments

@GCHQDeveloper926
Copy link

GCHQDeveloper926 commented Nov 27, 2023

Article and Module Links

https://www.baeldung.com/spring-webclient-oauth2

https://github.com/eugenp/tutorials/blob/master/spring-reactive-modules/spring-reactive-oauth/src/main/java/com/baeldung/webclient/clientcredentials/configuration/WebClientConfig.java

Describe the Issue
UnAuthenticatedServerOAuth2AuthorizedClientRepository is deprecated and is no longer the preferred way to create an OAuth filter. Suggest switching to AuthorizedClientServiceReactiveOAuth2AuthorizedClientManager and ServerOAuth2AuthorizedClientExchangeFilterFunction

To Reproduce
Steps to reproduce the behavior:

  1. Check out the class used here and read the deprecation message.

Happy to provide a PR if suitable, to update this particular tutorial

@GCHQDeveloper926 GCHQDeveloper926 changed the title [ISSUE] UnAuthenticatedServerOAuth2AuthorizedClientRepository is deprecated [ISSUE] UnAuthenticatedServerOAuth2AuthorizedClientRepository is deprecated Nov 27, 2023
@ulisseslima ulisseslima added the triaged Issues reviewed by a dev and considered valid. Will be added in Jira. label Nov 28, 2023
@ulisseslima
Copy link
Collaborator

Hey, @GCHQDeveloper926.

Thanks for the feedback. We'll look into this.

This issue will remain open until then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
on-jira triaged Issues reviewed by a dev and considered valid. Will be added in Jira.
Projects
None yet
Development

No branches or pull requests

3 participants