tut-spring-boot-oauth2
tut-spring-boot-oauth2 copied to clipboard
'spring-security-oauth2-autoconfigure' version update
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>
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 Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.
@glqdlt Thank you for signing the Contributor License Agreement!