microservice-security
microservice-security copied to clipboard
OAuth2SsoConfigurerAdapter class missing
Unable to compile/build the classes as OAuth2SsoConfigurerAdapter is missing in the newer spring libraries. Spring docs are not clear on alternatives. So kindly update the example to use latest spring library releases especially spring boot 1.3.0. it will benefit a lot of developers
Hey @kk-manh, check this article out. I ran into this issue as well, but it seems that in Spring Boot 1.3, OAuth2SsoConfigurerAdapter is obsolete and is replaced with a WebSecurityConfigurerAdapter with EnableOAuth2Sso annotation.
https://spring.io/blog/2015/11/30/migrating-oauth2-apps-from-spring-boot-1-2-to-1-3
I'm in the middle of upgrading a closed-source project to 1.3 and running into the same issues, and found that guide helpful. Did simply replacing OAuth2SsoConfigurerAdapter for WebSecurityConfigurerAdapter work for you guys? I hope to have some time in the next month to update all my sample apps to use Boot 1.3.