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
- 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.
- Configure the Keycloak role mapper and use the realm SAML metadata in the indexer SAML auth domain.
- 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.
