tutorials
tutorials copied to clipboard
[ISSUE] `UnAuthenticatedServerOAuth2AuthorizedClientRepository` is deprecated
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:
- Check out the class used here and read the deprecation message.
Happy to provide a PR if suitable, to update this particular tutorial
Hey, @GCHQDeveloper926.
Thanks for the feedback. We'll look into this.
This issue will remain open until then.