Skip to content

Commit

Permalink
Clarify OAuth2 Client Configuration Documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
trobanga committed Jan 28, 2025
1 parent 75c99d2 commit 2815739
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions docs/configuration/oauth2-client.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

If an agent is supposed to authenticate at an endpoint via OAuth2 one must register one or more
clients.
The registration's name has to be set in [HttpClientConfig](../types/HttpClientConfig).
Then the registration may be referenced by its `registrationId`
in [HttpClientConfig](../types/HttpClientConfig).

See [Spring Security](https://docs.spring.io/spring-security/reference/servlet/oauth2/client/core.html#oauth2Client-client-registration)
for more details on how to configure OAuth2 clients.
Expand All @@ -21,13 +22,3 @@ spring.security.oauth2.client:
keycloak:
issuer-uri: http://localhost:8080/realms/fts
```
## Fields
### `registration` _(list)_

* Key-value map of `$REGISTRATION_NAME` to ClientRegistration


* ### `provider` _(list)_
Key-value map of `$PROVIDER_ID` to ProviderDetails.

0 comments on commit 2815739

Please sign in to comment.