tut-spring-boot-oauth2 icon indicating copy to clipboard operation
tut-spring-boot-oauth2 copied to clipboard

'spring-security-oauth2-autoconfigure' version update

Open glqdlt opened this issue 5 years ago • 2 comments

Hello. I am learning from 'https://spring.io/guides/tutorials/spring-boot-oauth2/#_social_login_simple' Guide. Problems occur when writing code with reference to the Guide. The error log is shown below.

...

Description:

The bean 'scopedTarget.oauth2ClientContext', defined in class path resource [org / springframework / boot / autoconfigure / security / oauth2 / client / OAuth2RestOperationsConfiguration $ SessionScopedConfiguration $ ClientContextConfiguration.class], could not be registered. A bean with that name has already been defined in org.springframework.security.oauth2.config.annotation.web.configuration.OAuth2ClientConfiguration $ OAuth2ClientContextConfiguration and overriding is disabled.

...

This is a problem that occurs below.

<groupId> org.springframework.security.oauth.boot </ groupId> <artifactId> spring-security-oauth2-autoconfigure </ artifactId> 2.0.0.RELEASE </ version>

Details can be found in this issue 'https://github.com/spring-projects/spring-security-oauth2-boot/issues/51'

I updated guide.

thanks for reading.

glqdlt avatar Feb 28 '19 03:02 glqdlt

@glqdlt Please sign the Contributor License Agreement!

Click here to manually synchronize the status of this Pull Request.

See the FAQ for frequently asked questions.

pivotal-issuemaster avatar Feb 28 '19 03:02 pivotal-issuemaster

@glqdlt Thank you for signing the Contributor License Agreement!

pivotal-issuemaster avatar Feb 28 '19 05:02 pivotal-issuemaster