Open damon008 opened 2 years ago
spring-cloud-starter-oauth2
?<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-oauth2</artifactId>
</dependency>
@EnableOAuth2Sso
,@EnableResourceServer
,@EnableGlobalMethodSecurity
and so on.
Describe the bug
In my client of Resource Server
Base on
How can use Oauth2 for Resource Server? for some examples?
The following code is mine
SecurityConfig.java
but it throw a exception:
But, I can use SSO by Oauth2 for Resource Server (Client Demo) from the version:
I Just update the version of springboot and Springcloud.
===============================================
So Excuse me, is there an example of integrating SSO with spring cloud security? Didn't understand the migration guide. Thanks