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

后端 未结 3 1505
有刺的猬
有刺的猬 2021-02-07 12:28

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 not

3条回答
  •  既然无缘
    2021-02-07 13:09

    Looks like the @EnableOauth2Sso annotation has been moved here:

    compile group: 'org.springframework.security.oauth.boot', name: 'spring-security-oauth2-autoconfigure', version: 2.0.0.RELEASE

提交回复
热议问题