@@ -35,7 +35,7 @@ public class OAuth2ResourceServerConfiguration extends ResourceServerConfigurerA
.sessionManagement().sessionCreationPolicy(SessionCreationPolicy.STATELESS)// 无状态验证
.and()
.authorizeRequests().anyRequest()
- .access("#oauth2.hasScope('scope-a')") // 拦截所有请求判断 scope
+ .access("#oauth2.hasScope('all')") // 拦截所有请求判断 scope
;
}