tutorials icon indicating copy to clipboard operation
tutorials copied to clipboard

[ISSUE] `UnAuthenticatedServerOAuth2AuthorizedClientRepository` is deprecated

Open GCHQDeveloper926 opened this issue 1 year ago • 1 comments

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 avatar Nov 27 '23 12:11 GCHQDeveloper926

Hey, @GCHQDeveloper926.

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

This issue will remain open until then.

ulisseslima avatar Nov 28 '23 01:11 ulisseslima