When upgrading to spring boot 2.0.0 from an earlier version, it appears that the @EnableOAuth2Sso annotation from the spring-boot-autoconfigure
library has been removed. The migration guide and release notes are unclear as to what to use instead, or where it might have moved.
After discussions in an existing GitHub issue on spring boot, I was eventually led to the annotation's location in the 2.0.0 release. It has been moved to a project completely new to the 2.0.0 release artifacts.
To resolve this issue and migrate your project, add the artifact org.springframework.security.oauth.boot:spring-security-oauth2-autoconfigure to your dependency management configuration.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With