外部OAuth2提供程序没有公共JwkUri,因此我尝试使用以下代码片段覆盖默认行为:public class DirectlyConfiguredJwkSetUri().tokenEndpoint().accessTokenResponseClient(customAccessTokenResponseClient()) System.out.println(token);
我正在做Spring安全Oauth2。在客户端,我重写configure(HttpSecurity http)方法,并希望在HttpSecurity文件中使用oauth2Login()方法。我已经在spring-security-oauth2-client, spring-boot-starter-security and spring-security-oauth2中添加了pom.xml<em