Spring boot 2.0.0.M6 OAuth2 web application client. No @EnableOauth2Sso anymore; how to replace?

Viewed 2960

I have build a Authentication Service and Webapplication in Spring 5 and Spring boot 2.0.0.M3 and I am trying to port it to Spring boot 2.0.0.M6 now.

I noticed the @EnableOauth2Sso is not available anymore in spring-boot-autoconfigure; I had used this annotation to configure my web application in spring boot 2.0.0.M3 fashion. I have looked into the examples on Spring for configurating the Oauth2 Client using @EnableOAuth2Client but the Configuration objects used in the examples like UserInfoTokenServices also do not seem to exist anymore.

How can I configure my client webapplication for OAuth2 in spring boot versions >= 2.0.0.M6?

3 Answers
Related