Wazuh SSO with Keycloak (SAML)

Configure a Keycloak SAML client for Wazuh Dashboard, including the IdP-initiated endpoint if needed.

Last updated

On this page (5)

Wazuh · Keycloak · SAML

Before you start

  • Keycloak realm administrator.
  • Wazuh indexer and dashboard administrator.

Configure sign-in

  1. Create a SAML client in Keycloak, use the same SP entity ID in Wazuh, and configure the dashboard redirect and ACS endpoints per the Wazuh guide.
  2. Configure the Keycloak role mapper and use the realm SAML metadata in the indexer SAML auth domain.
  3. Enable dashboard SAML and the documented XSRF allowlist; map the asserted backend roles to least-privilege Wazuh access.

Verify the result

  • Test dashboard login and the separate Keycloak-initiated flow if configured.
  • Confirm the role mapper sends the expected values and a viewer cannot administer the dashboard.

Official documentation

Have Pilae connect your identity provider

Pilae can deploy Wazuh with your identity provider already connected. We agree the edition, account mapping and access tests with your team before rollout.