...
Code Block | ||
---|---|---|
| ||
@Bean ClientRegistration clientRegistration() { return ClientRegistration.withRegistrationId("someId") .clientId("someClientId") .clientSecret("someClientSecret") .tokenUri("https://mytokenurisomehost.com/token") .authorizationGrantType("client_credentials") .build(); } |
...