Skip to content

Conversation

@denisw
Copy link
Contributor

@denisw denisw commented Mar 15, 2018

As auto-configuration for Spring Security OAuth has been removed. from Spring Boot 2.0 and Spring Security 5 doesn't have OAuth 2.0 Authorization / Resource Server support yet, it has not been obvious at all how to implement an OAuth 2.0 server with Boot 2.0.

For that reason, this new section briefly explains the current temporary situation and points to the spring-security-oauth2-autoconfigure module that restores the auto-configuration support for OAuth 2.0 Authorization and Resource Servers.

As auto-configuration for Spring Security OAuth has been removed
from Spring Boot 2.0 and Spring Security 5 doesn't have OAuth
2.0 Authorization / Resource Server support yet, it has not
been obvious at all how to implement an OAUth 2.0 server with
Boot 2.0.

For that reason, this new section briefly explains the current
temporary situation and points to the spring-security-oauth2-autoconfigure
module that restores the auto-configuration support for OAuth
2.0 Authorization and Resource Servers.
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Mar 15, 2018
@mbhave mbhave added type: documentation A documentation update and removed status: waiting-for-triage An issue we've not yet triaged labels Mar 15, 2018
@mbhave mbhave added this to the 2.0.1 milestone Mar 15, 2018
@ssozonoff
Copy link

I would like to point out that its still not clear how to get a project setup with Spring Boot 2.0 and an OAuth2 Resource Server including Actuator endpoints protected by Basic Auth. I had this working fine with Spring Boot 1.5.x, but its not working with Spring Boot 2.0 Simply adding the dependency on spring-security-oauth2-autoconfigure is not enough.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: documentation A documentation update

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants