mirror of
https://github.com/keycloak/keycloak.git
synced 2026-01-09 23:12:06 -03:30
fix: updating service account docs
closes: #17268 Signed-off-by: Steve Hawkins <shawkins@redhat.com> Signed-off-by: Steven Hawkins <shawkins@redhat.com> Co-authored-by: Alexander Schwartz <alexander.schwartz@gmx.net>
This commit is contained in:
parent
33987e54ff
commit
f66359ce19
@ -51,12 +51,12 @@ To authenticate against the Admin REST API using a `client_id` and a `client_sec
|
||||
|
||||
. Make sure the client is configured as follows:
|
||||
|
||||
* `client_id` is a **confidential** client that belongs to the realm *master*
|
||||
* `client_id` has `Service Accounts Enabled` option enabled
|
||||
* `client_id` has a custom "Audience" mapper
|
||||
** Included Client Audience: `security-admin-console`
|
||||
* `client_id` belongs to the realm *master*
|
||||
* `client_id` has *Client authentication* set to *On*
|
||||
* `client_id` has the *Service account roles* option enabled
|
||||
* Assign `client_id` the `admin` realm role in the *Service accounts roles* tab.
|
||||
|
||||
. Check that `client_id` has the role 'admin' assigned in the "Service Account Roles" tab.
|
||||
. Use the *Client Secret* from the *Credentials* tab to verify the service account access:
|
||||
|
||||
[source,bash,subs="attributes+"]
|
||||
----
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user