Add comment
parent
9d81c6729d
commit
87de39b02b
|
@ -180,6 +180,7 @@ public class OAuth2ServerConfiguration {
|
||||||
@Override
|
@Override
|
||||||
public void configure(AuthorizationServerSecurityConfigurer oauthServer) throws Exception {
|
public void configure(AuthorizationServerSecurityConfigurer oauthServer) throws Exception {
|
||||||
oauthServer.realm("spring-oauth-server")
|
oauthServer.realm("spring-oauth-server")
|
||||||
|
// 支持 client_credentials 的配置
|
||||||
.allowFormAuthenticationForClients();
|
.allowFormAuthenticationForClients();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue