我想动态更改客户端注册的范围。我知道如何以这种方式设置注册:
spring:
security:
oauth2:
client:
registration:
custom:
client-id: clientId
client-secret: clientSecret
authorization-grant-type: client_credentials
provider:
custom:
token-uri: http://localhost:8081/oauth/token
Run Code Online (Sandbox Code Playgroud)
我如何以编程方式配置它?
spring spring-security oauth-2.0 spring-boot spring-webclient