Wazuh SSO with Okta

Wazuh supports SAML single sign-on from Okta to the dashboard, with group-based role mapping and a local fallback admin. This page covers the Okta app, the attributes Wazuh needs, role mapping and the checks before go-live.

On this page

Wazuh SSO with Okta: what the integration does and how it works

Your security team runs a self-hosted Wazuh dashboard and wants Okta to decide who can sign in and which Wazuh role each person receives. Wazuh supports SAML single sign-on alongside its internal user database, and its documentation includes a guide for Okta. The work has two parts: an Okta SAML application that trusts the Wazuh dashboard, and group attributes sent in the SAML assertion that Wazuh maps to its roles. Okta does not hold Wazuh data or permissions beyond what you configure, so the rest of the platform is unchanged.

Okta only authenticates users. The Wazuh dashboard, the Wazuh indexer that stores alerts, and the Wazuh server that analyzes agent data all stay in the infrastructure you control. When an analyst signs in, the browser is redirected to Okta, Okta checks the password and any multi-factor policy, and it returns a signed SAML assertion to the dashboard. Alert data, agent records and the indexer never pass through Okta. Confirm this boundary with your own architecture review, and document where the dashboard's login endpoint and the Okta tenant sit relative to your firewall rules, since the browser must reach both.

Before building anything, decide how groups will map to roles, because that mapping is where access mistakes usually happen. Okta group membership should be the single source of truth for who holds an administrator, analyst or read-only role, and the group names you choose will appear in Wazuh's role configuration. Also decide how the local administrator account will be kept for break-glass use, and who may use it. Ask your Okta administrator which Okta edition and admin features your tenant includes, and check the Wazuh single sign-on documentation for the exact version of the SAML settings your release supports.

What you need before starting the Okta SAML setup

The Okta side and the Wazuh side each need a few items in place before any configuration starts. Most delays on this kind of project come from missing access or unsettled names, not from the SAML settings themselves, so confirm these items first.

Wazuh deployment on a 4.14 patch

Confirm that the Wazuh dashboard runs a supported 4.14 patch release before the change window opens. The current line is 4.14, and the vendor ships patch releases roughly every one to two months, so the installed version may already be behind. Check the release notes for the exact patch level and any SSO-related fixes, then plan the upgrade separately if needed. Record the version you will test against so later troubleshooting starts from a known state.

Wazuh release notes

Okta tenant with application rights

The person configuring the integration needs administrator rights in the Okta tenant that can create SAML applications and groups. Confirm this with your Okta administrator before the change window, because a read-only or delegated role often blocks the app creation step. Ask whether your tenant uses a custom admin role, and whether group rules or directory sync already manage the groups you plan to use. Your Okta plan determines which features are available, so check that SSO is included in your suite.

Okta pricing

TLS certificate and stable DNS name

The Wazuh dashboard needs a stable DNS name and a valid TLS certificate that browsers trust. Okta sends the SAML response back to the dashboard's assertion consumer URL, so the hostname you register in Okta must match the one users type. Changing the name later means editing the Okta app and the Wazuh configuration together. Confirm who issues the certificate, its expiry date and the renewal process, because an expired certificate breaks sign-in for every user at once.

Network path to Okta and the dashboard

Users' browsers must reach both the Okta sign-in endpoints and the Wazuh dashboard. Check the path from the networks where analysts work, including VPN and proxy rules, and confirm that the dashboard is reachable from the browser without a direct connection to the Wazuh server. Your Okta tenant location and any proxy or allow-list policy can also affect this. Test from a representative workstation before configuring anything, so you can separate network faults from SAML faults later.

Wazuh admin access for security configuration

Someone must hold Wazuh administrator access that allows editing the security configuration, including the SAML settings and role mappings. Confirm which account will make the change and that it does not depend on a single person's credentials. Record how that account signs in during the work, because switching the dashboard to SAML can change how administrators log in afterward. Keep a separate, tested local administrator path ready before you begin, as covered later in the break-glass step.

Agreed group names and role list

Agree on the Okta group names and the Wazuh role list before any configuration starts. Each Okta group that grants access must map to a specific Wazuh role, and the group names must match exactly in both systems. Ask the security lead which roles analysts, administrators and read-only auditors should receive, and who approves changes to group membership. Write the agreed table down, since a mismatch between a group name and a role mapping is one of the most common causes of users signing in with no permissions.

How a Wazuh dashboard login flows through Okta

The sign-in starts in the user's browser, which is redirected to Okta as the identity provider outside the client's network. After authentication, Okta returns a SAML assertion to the Wazuh dashboard, which acts as the service provider inside the boundary. The assertion carries the group attributes the dashboard uses for role mapping, so check that the group claim names match exactly before testing analyst and administrator logins.

SAML login path with the trust boundary around Wazuh components.

Configuring the Okta app, group attributes and Wazuh SAML settings

This sequence builds the trust between Okta and the Wazuh dashboard, sends group membership in the SAML response, and maps those groups to Wazuh roles so that each user lands with the correct access level.

  1. Create the SAML application in Okta

    In the Okta Admin Console, create a new SAML 2.0 app integration for the Wazuh dashboard. Record the Single sign-on URL (assertion consumer service) and the Audience URI (entity ID) that the Wazuh single sign-on guide specifies for your Wazuh version, and enter them exactly as written, including the trailing path if the guide includes one. Take exact field labels from the Wazuh guide and confirm them against the release in use before saving. The step is done when the app appears in the Okta application list with both values saved and the Okta metadata is available to download or copy.

  2. Configure the group attribute statement

    In the app's SAML settings, add an attribute statement that carries group membership in the assertion. Use the attribute name the Wazuh guide expects, and set the filter so that only the groups intended for Wazuh are sent, for example groups whose names start with a defined prefix. Keep the name consistent across Okta and Wazuh because the role mapping depends on it. The step is done when a test assertion, captured with a SAML response inspector or the Okta preview, shows the expected attribute name and the group values for a test user.

  3. Assign Wazuh groups to the application

    Create or choose the Okta groups that will represent Wazuh roles, such as one group for administrators and one for analysts, and assign them to the Wazuh app under the Assignments tab. Assign only the people who need dashboard access, and avoid assigning all-user groups. The step is done when a user in each group shows the Wazuh app on their Okta dashboard and no user outside those groups can see the app.

  4. Enter the Okta metadata in Wazuh

    On the Wazuh server, add the Okta identity provider details to the SAML configuration using the keys and file location described in the Wazuh single sign-on guide for your version. Typically this means the Okta sign-on URL, the issuer, and the signing certificate from the Okta metadata. Confirm the configuration file path and key names against the documentation and restart or reload the service as the guide directs. Check that the configuration parses without errors in the service logs, and that the dashboard login page now offers the SAML sign-in option.

  5. Map Okta group values to Wazuh roles

    Define the mapping from the group values in the assertion to Wazuh roles in the role mapping configuration, using the file and syntax from the Wazuh guide. Map each Okta group to the least-privileged Wazuh role that fits its job, and do not map a broad group to an administrator role. Record the mapping in your change record so reviewers can trace each group to its role. The step is done when the mapping file validates and the service loads it without errors.

  6. Test sign-in for each group

    Sign in with a test user from each Okta group and confirm that the Wazuh role assigned matches the mapping, by checking the user's roles and the visible dashboard features. Also test a user outside every mapped group, who should be denied or land without privileges depending on your configuration, and a user removed from a group, whose access should end after the next sign-in. Repeat these checks after each Wazuh upgrade. The step is done when every test result matches the documented expectation and the results are saved with the change record.

Mapping Okta groups and user attributes to Wazuh roles

This table maps each Okta group to the SAML attribute value it sends, the Wazuh role it should receive and the dashboard access that results. The group and role names are placeholders chosen by your team, so replace them with your own before testing. The main takeaway is that users outside every mapped group should be denied, and the local admin account should stay outside SSO.

Okta group (illustrative)SAML attribute value sentWazuh role or backend roleExpected dashboard access
wazuh-admins (illustrative)wazuh-adminsAdministrator role (confirm the exact role name in your Wazuh version)Full dashboard access, including configuration, user and role management
wazuh-analysts (illustrative)wazuh-analystsRead and investigate role mapped to your SOC analystsAlert review, search and dashboards; no user or role management
wazuh-readonly (illustrative)wazuh-readonlyRead-only role for auditors or stakeholdersView dashboards and compliance views; no changes to agents or rules
Break-glass local admin (not an Okta group)Not sent; account stays in the internal user databaseInternal administrator accountWorks when the SAML provider or Okta is unavailable; restricted to a named custodian list
Users in no mapped groupAttribute absent or emptyNo role assigned; access deniedSign-in refused or no dashboard access; confirm the exact behavior in your Wazuh version

Keeping a break-glass local admin when Okta is unavailable

Keep the Wazuh internal user database enabled for at least one administrator. If Okta is the only way in, an Okta outage, an expired SAML signing certificate or a misconfigured Okta application can lock out the entire security team at the moment they need the dashboard most. The break-glass account is a local Wazuh user that signs in without going through Okta. Confirm in your own environment that the Wazuh SAML configuration leaves local authentication working when the identity provider is unreachable, and test that rather than assuming it, because the behavior depends on how your dashboard and API are exposed.

Store the local admin password in the secrets process your organization already runs for privileged credentials, such as a sealed vault with dual control for retrieval. Limit retrieval to a small named group, usually the on-call security lead and one backup, and record who holds access. Set the password to a long random value, never reuse it elsewhere, and rotate it after every use or on a fixed schedule your policy sets. Decide in advance whether the account has full administrator rights or a narrower role, since a narrower role may be enough to restore SAML settings and check agent status during an incident.

Log every break-glass sign-in and review it. Wazuh records authentication activity, so confirm which events reach your indexer and alerting, then create a rule that notifies the security lead whenever the local admin signs in. Schedule a test sign-in on a fixed cadence that your change calendar records, and during each test confirm that the account still works, that the password in the vault matches, and that the SAML login path is still reachable. Treat a failed test as an incident. Document each test result so an auditor or reviewer can see the control operating over time.

Security controls for the Okta to Wazuh sign-in path

The Okta app, its policies, the signing certificate, the Wazuh configuration and the logs form one sign-in path, and each link can weaken the others. The controls below are the decisions a team should make and record before go-live, not a one-time checklist.

Restrict the Okta app to Wazuh groups

Assign the Wazuh SAML app only to the Okta groups that need dashboard access, such as the security operations and administrator groups, and do not assign it to All users or broad directory groups. Decide who approves membership changes in those groups, because a user added to a group in Okta gets a Wazuh role on next sign-in. Check the assignment list after each directory sync, since an imported group can gain members that nobody reviewed.

Set sign-on and MFA policies for the app

Create an Okta sign-on policy for the Wazuh app that requires multi-factor authentication for every sign-in, and decide the session lifetime and the network zones allowed to reach the dashboard. Test the policy with a standard analyst account and an administrator account, because the two roles often carry different risk. Confirm that your Okta edition includes the authentication features you plan to rely on, since feature sets differ by suite.

Protect and rotate the SAML signing certificate

The certificate Okta uses to sign assertions is the trust anchor for the whole integration. Decide who can download or export it, where the Wazuh copy is stored, and how often it is rotated, and schedule the rotation before the certificate expires. Export the new certificate to Wazuh before Okta switches to it, then confirm a test sign-in. Record the expiry date in your change calendar so rotation does not depend on memory.

Limit who can change Wazuh SSO settings

Decide which named administrators can edit the Wazuh SAML configuration, the role mapping and the local fallback account. Changing the attribute that carries group membership, or the mapping from group values to Wazuh roles, can silently grant or remove access for every user. Keep these changes under a change request, require a second reviewer, and keep the fallback account credentials sealed and outside any shared password store that SSO users can read.

Protect service accounts and saved credentials

In its November 2023 root cause analysis, Okta reported that a threat actor accessed files in its customer support system through a service account whose credentials an employee had saved to a personal Google profile. For your Wazuh setup, the lesson is to keep any Okta API token or service account used for directory export or automation in a vault with named owners and expiry dates, never in a personal browser profile or a shared document. Review these credentials on the same schedule as the signing certificate.

Okta root cause analysis

Review Okta and Wazuh sign-in logs

Decide who reviews sign-in activity, how often, and what counts as an alert. Okta system logs record sign-in attempts, policy evaluations and administrative changes to the app, while Wazuh audit records show dashboard activity and configuration events. Compare the two for the same user over the same period, and confirm that both sets of logs are retained long enough for your incident response and audit needs. Ask your team to test that a failed login and a configuration change both appear where the reviewer expects them.

Which Okta plan covers SAML sign-in to Wazuh

SAML sign-in to the Wazuh dashboard needs Okta's Single Sign-On capability, and Okta's Starter suite includes it. Okta sells Workforce Identity suites per user per month, billed annually, with a $1,500 annual contract minimum, according to Okta's pricing page. The Starter suite includes Single Sign-On, Multi-Factor Authentication and Universal Directory. Essentials adds Adaptive MFA, Lifecycle Management and Access Governance, and Enterprise adds API Access Management, Access Gateway and machine-to-machine tokens. The Wazuh SAML flow itself does not depend on the higher tiers, so the first decision is whether your organization already holds a suite that includes Single Sign-On and whether it is licensed for the users who will sign in to Wazuh.

Do not assume the higher tiers are unnecessary for your environment. Access Gateway is a reverse proxy deployed behind your firewall for on-premises applications that lack federation support, so it is relevant only if you plan to put a non-federated internal tool in front of Okta. The Wazuh dashboard speaks SAML directly, so it should not need Access Gateway. Confirm that with Okta before you rely on it. Similarly, Lifecycle Management and Access Governance matter if you want Okta to provision and review Wazuh access automatically, which this topic does not require.

Before you quote or sign, confirm current pricing and suite contents on the Okta pricing page, since tiers change. Then get the exact edition, user count and contract term in writing from your Okta account team, including any Universal Directory or Active Directory import you already run. Ask them to confirm that the Single Sign-On feature is enabled on your tenant and that SAML app integrations are not restricted for your plan. That written edition, not the public page, is the basis for your budget and for the scope of the Okta app setup.

Common Okta SAML failures with Wazuh and how to fix them

This table lists the failures most often seen when Okta SAML sign-in to the Wazuh dashboard is first configured or changed, with the likely cause and fix for each. Read each row against the symptom your users report, then check the Okta app settings and the Wazuh SAML configuration together. Confirm exact error text, log locations and settings against the Wazuh and Okta documentation for the versions you run.

SymptomLikely causeFix
SAML response rejected at the Wazuh dashboardEntity ID or assertion consumer service URL in the Okta app differs from the values in the Wazuh SAML configuration, often by a trailing slash, http versus https or a hostname changeCopy the entity ID and assertion consumer URL from the Wazuh SAML settings into the Okta SAML app exactly, then retest with a fresh browser session
User signs in but has no Wazuh roleThe group attribute name in the Okta assertion does not match the attribute the Wazuh role mapping reads, or the group value text differs in case or spellingCompare the attribute statement name and group filter in Okta with the role mapping in Wazuh, then confirm the mapping uses the same attribute name and group value for each role
Sign-in fails intermittently with timestamp or validity errorsClock skew between the Okta tenant and Wazuh servers, or assertion validity window already passedSynchronize NTP on every Wazuh node and the proxy in front of it, then test again and check the time source on each host
Sign-in fails after the Okta signing certificate was rotated or expiredThe Wazuh node still trusts an older signing certificate, so signature validation of the assertion failsDownload the current signing certificate from the Okta app, update the identity provider certificate in Wazuh, and plan a calendar reminder before the next expiry date shown in Okta
Users outside the intended groups can reach the dashboardOkta app assignment includes everyone in the org or a broad group, so users without a mapped Wazuh group still authenticate and receive a default or no-role sessionRestrict the Okta app assignment to the specific security groups, confirm the Wazuh configuration denies or limits users without a mapped group, and test with an account outside those groups
Administrator locked out after SSO changeRole mapping was removed or changed so no SSO user holds an administrator role, and the local break-glass account is missing, disabled or its password is unknownUse the local admin account kept outside SSO to restore the mapping, and test that break-glass login at each change window before it is needed

Questions buyers ask about Wazuh SSO with Okta

How much effort does a Wazuh SSO integration with Okta take?

The effort depends mostly on how many Okta groups must map to Wazuh roles, how much role design is still open, and how far the existing Okta governance already reaches. A single admin group and a single analyst group is a small job. A security team with several tiers of access, separate read-only auditors and groups that already exist for other applications takes longer, because each group needs an owner and a decision about what it may do in the dashboard. Testing scope adds to this: every role needs at least one successful login and one denied action, and that testing should be repeated after any change to the SAML settings or the group claim. Ask for the group inventory and the role matrix before agreeing on effort.

Can our team set up Okta SSO for Wazuh alone using the vendor guides?

A team with Okta administration experience and someone who can administer the Wazuh dashboard can usually follow the Wazuh single sign-on documentation and the Okta setup steps without outside help. The harder parts are not the screens. They are deciding which groups map to which roles, testing the fallback path before it is needed, and making sure a mistake in the attribute statement does not lock every administrator out at once. If your team has no one who has done SAML configuration before, or if the change must be documented for a compliance review, a fixed-scope engagement can cover the build, the testing and the written record of both.

What does the client need to provide for an Okta SSO engagement?

Four things matter most. The first is administrator access to the Okta organization, scoped to creating the SAML application and assigning groups, plus access to the Wazuh server and dashboard where the SAML settings are applied. The second is a change window in which administrators can be tested and any lockout can be reversed. The third is a named approver who owns the role design, because someone must decide which Okta group receives which Wazuh permissions. The fourth is a break-glass owner: a named person who holds the local admin credential, stores it under your secret handling rules and can confirm when it was last tested. Without these, the build can stall at the first decision.

How long does a Wazuh SSO with Okta project take?

Duration depends on scope: the number of groups, whether role design is already agreed, how many environments such as test and production are involved, and whether the change must pass an internal approval process. DeployOpen does not publish a fixed timeline for this topic. Timing is stated in the written scope that both parties agree before work starts, and it reflects the inventory, approvals and testing you require. Ask for the milestones in that scope, including when the break-glass account is tested and when production cutover happens.

What does a fixed-scope DeployOpen engagement for Okta SSO include?

DeployOpen works from a written scope, so the included items are listed before work starts. For this topic, a typical scope covers reviewing the Okta groups and the Wazuh role model, creating and configuring the Okta SAML application, mapping group attributes to Wazuh roles, setting up and testing the local break-glass admin, testing each role with a real login and a denied action, and documenting the configuration and the test results. Ongoing items such as upgrade testing, monitoring of group changes or continuous testing are usually handled as a separate retainer. Confirm each item and its deliverable in the quote.

Do the break-glass account and role mapping need retesting after Wazuh upgrades?

Yes, both should be retested after upgrades, and after any change to the identity provider, the SAML certificate or the group claim. Wazuh ships patch releases in the 4.14 line about every one to two months, and an upgrade can change how the dashboard handles authentication settings. The break-glass local admin must still log in, the SAML path must still assign the expected roles, and the denied actions must still be denied. Put these checks in the change procedure as a standard step, record the date and result, and rotate the break-glass credential according to your own policy. Confirm with the Wazuh upgrade notes for the release you are moving to before scheduling the test.

What drives the ongoing cost of running Okta SSO for Wazuh?

Most of the recurring cost comes from people and licensing, not from the Wazuh software, which is open source and carries no license fee. Okta charges per user per month under its Workforce Identity suites, billed annually with a $1,500 annual contract minimum, and the suite you need determines which features are included. The Okta pricing page lists the suites and their contents, so check which tier covers SSO for your user count. Internal costs include the people who review group membership, test after upgrades and keep the break-glass credential current. Ask any partner for a quote that separates one-time build work from recurring support.

How DeployOpen scopes and delivers Wazuh SSO with Okta

DeployOpen plans and builds the SAML connection between Okta and the Wazuh dashboard inside your own infrastructure, with the Okta app, group attributes, role mapping and break-glass admin agreed up front. Each step is written down so your identity and security teams can review and keep it running after handover.

How we scope

  • Written scope names the Wazuh dashboard hostname, the Okta org and the Okta groups that map to each Wazuh role.
  • Scope records which Wazuh roles analysts, administrators and read-only users receive, and who approves each mapping.
  • Scope confirms where the Wazuh dashboard and its identity settings run, and which team owns the break-glass account.

How we build

  • We configure the SAML application in Okta and the matching SAML settings in the Wazuh dashboard against your agreed attribute names.
  • We test sign-in with a member of each mapped group and confirm that each role gets only the access it should have.
  • We verify the local admin fallback works while SSO is enabled, and that its credentials are stored under your control.

How we hand over

  • Handover includes a runbook covering the Okta app settings, group attribute names, role mapping and certificate locations.
  • You receive a test record showing each login path, the groups tested and the results observed during build.
  • We walk your administrators through changing a group mapping, rotating the signing certificate and using the fallback account.

How we support

  • Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work begins.
  • Ongoing support, upgrades and retesting after Wazuh or Okta changes are available as a retainer.
  • Ask for a quote that lists each deliverable, what you must provide, and which changes would require a new scope.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.