Migrate to spring-security-oauth2-client
thetric opened this issue · comments
The Spring Boot 2.0 migration guide hints that org.springframework.security.oauth.boot:spring-security-oauth2-autoconfigure
will be superseeded by org.springframework.security:spring-security-oauth2-client
.
Is there any documentation covering this topic? Should this repo be updated to reflect this change?
Functionality from the Spring Security OAuth project is being migrated to core Spring Security. Dependency management is no longer provided for that dependency and Spring Boot 2 provides OAuth 2.0 client support via Spring Security 5.
[...] We’re also continuing to support Spring Boot 1.5 so older applications can continue to use [Spring Security OAuth] until an upgrade path is provided.
I found https://spring.io/blog/2018/03/06/using-spring-security-5-to-integrate-with-oauth-2-secured-services-such-as-facebook-and-github which explains the configuration for Facebook as auth provider