Skip to content

Commit f6c9e46

Browse files
committed
add directory sync docs
1 parent 1c9eb2f commit f6c9e46

File tree

3 files changed

+18
-0
lines changed

3 files changed

+18
-0
lines changed
Loading

content/docs/integrations/user-identity/keycloak.mdx

+18
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,24 @@ You'll be redirected to Keycloak to sign in, then back to the Verify service:
143143

144144
You can see user claims from Keycloak in the JWT payload, confirming that Pomerium has authenticated and authorized your request.
145145

146+
### Directory Sync (Enterprise)
147+
148+
## Setting Up Directory Sync
149+
150+
### Configure Client Credentials
151+
152+
To allow the client credentials configured above to be used for directory sync, under **Capability config**, turn on "Service accounts roles".
153+
154+
![Capability config](./img/keycloak/keycloak-sync-capability-config.png)
155+
156+
Then under the **Service accounts roles** tab, add the `view-users` and `view-groups` roles.
157+
158+
![Service accounts roles](./img/keycloak/keycloak-sync-service-accounts-roles.png)
159+
160+
### Configure Pomerium Enterprise Console
161+
162+
Under **Settings → Identity Providers**, select "Keycloak" as the identity provider and set the Client ID, Client Secret, Realm and URL.
163+
146164
## Additional Resources
147165

148166
- [Identity Provider Settings](/docs/reference/identity-provider-settings)

0 commit comments

Comments
 (0)