Skip to content

Commit

Permalink
docs: The default realm is master (argoproj#4963)
Browse files Browse the repository at this point in the history
Signed-off-by: Shoubhik Bose <[email protected]>
  • Loading branch information
sbose78 authored Dec 3, 2020
1 parent d82f6b4 commit 5f46815
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/operator-manual/user-management/keycloak.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ to determine privileges in Argo.

## Creating a new client in Keycloak

First we need to setup a new client. Start by logging into your keycloak server, select the realm you want to use (Master by default)
First we need to setup a new client. Start by logging into your keycloak server, select the realm you want to use (`master` by default)
and then go to __Clients__ and click the __create__ button top right.

![Keycloak add client](../../assets/keycloak-add-client.png "Keycloak add client")
Expand Down Expand Up @@ -83,14 +83,14 @@ data:
url: https://argocd.example.com
oidc.config: |
name: Keycloak
issuer: https://keycloak.example.com/auth/realms/Master
issuer: https://keycloak.example.com/auth/realms/master
clientID: argocd
clientSecret: $oidc.keycloak.clientSecret
requestedScopes: ["openid", "profile", "email", "groups"]
```

Make sure that:
- __issuer__ ends with the correct realm (in this example _Master_)
- __issuer__ ends with the correct realm (in this example _master_)
- __clientID__ is set to the Client ID you configured in Keycloak
- __clientSecret__ points to the right key you created in the _argocd-secret_ Secret
- __requestedScopes__ contains the _groups_ claim if you didn't add it to the Default scopes
Expand All @@ -116,4 +116,4 @@ In this example we give the role _role:admin_ to all users in the group _ArgoCDA

You can now login using our new Keycloak OIDC authentication:

![Keycloak ArgoCD login](../../assets/keycloak-login.png "Keycloak ArgoCD login")
![Keycloak ArgoCD login](../../assets/keycloak-login.png "Keycloak ArgoCD login")

0 comments on commit 5f46815

Please sign in to comment.