HI ,

I am migrating spring boot application to 3.1.1 and Jdk 17

And i have "OAuth2RestTemplate " with dependency org.springframework.security.oauth spring-security-oauth2 2.5.2.RELEASE

It shows all the methods from this are deprecated ,And i do not find proper doc , all the documents are partial , Can share sample example?

Kinldy help here

Regards, Vanita

Comment From: sjohnr

@VanitaDhanagar, thanks for getting in touch, but it feels like this is a question that would be better suited to Stack Overflow. We prefer to use GitHub issues only for bugs and enhancements. Feel free to update this issue with a link to the re-posted question (so that other people can find it) or add a minimal sample that reproduces this issue if you feel this is a genuine bug.

Having said that please see the OAuth2 Migration Guide and the reference documentation.