Wazuh SSO with OneLogin

Connect the Wazuh dashboard to OneLogin over SAML, map OneLogin groups to Wazuh roles, and keep a tested local admin for recovery. This page covers the connector settings, the sequence, and the failure points.

On this page

How Wazuh SSO with OneLogin works over SAML

If your team runs self-hosted Wazuh and wants analysts to sign in through OneLogin instead of local accounts, you are in the right place. Wazuh supports SAML single sign-on alongside its internal user database, and the Wazuh documentation includes a guide for OneLogin. The work has two halves: a SAML connector configured on the Wazuh side, and a matching application configured in OneLogin, with role mapping and a fallback admin account planned around both. DeployOpen implements and documents this setup in your environment, but it does not hold vendor partner status with Wazuh or OneLogin unless that is stated separately, so treat the vendor documentation as the authority for connector fields.

Before anyone edits a file, decide three things. First, which OneLogin groups or roles will map to which Wazuh roles, and who approves changes to that mapping. Second, which Wazuh dashboard hostname and certificate the identity provider will trust, because SAML assertions and the assertion consumer URL must match exactly. Third, how the local admin account will be kept as a break-glass path, stored in a secrets manager and tested before SSO is enforced. Confirm with the Wazuh single sign-on documentation which connector keys your release expects, since the exact config.yml settings and claim names are defined there rather than in this page.

On the OneLogin side, the application is the object that carries the trust relationship, the signing certificate and the attribute statements that Wazuh reads. Confirm which attribute names the Wazuh guide expects for the user identifier and group membership, and test the assertion contents with a non-production user before rollout. Plan a test matrix that covers an administrator login, an analyst login with restricted rights, a user with no group membership, and a disabled account, and record what each one sees in the dashboard. Those results become the evidence your security team reviews.

What you need before configuring OneLogin SSO

Confirm these items before touching either system. Each one removes a common reason a OneLogin sign-in to the Wazuh dashboard fails halfway through configuration. Most of the work is in agreeing on identity decisions and access ownership, not in the connector screens themselves.

A confirmed Wazuh release

Run the Wazuh release line 4.14, where 4.14.9 is the most recent patch listed in the release notes at the time of writing. Confirm the exact version against the release notes on the day you begin, because patch releases arrive roughly every one to two months. Record the version in your change ticket so the SAML steps you follow match the dashboard you are actually running.

Wazuh release notes

Administrator access to the server and dashboard

You need an administrator account on the Wazuh dashboard and shell access to the Wazuh server host to edit the SAML configuration files and restart services. Without server access, the identity provider settings cannot be applied, and the dashboard cannot be tested end to end. Confirm who holds the root or sudo credentials and who approves changes to authentication settings.

A OneLogin administrator account

Someone with OneLogin administrator rights must create the SAML connector, assign users and manage the parameters that Wazuh expects. Confirm that this person can create applications, edit attribute mappings and assign roles or groups. If the OneLogin tenant is owned by another team, agree on that team's time for the setup window and for testing before work starts.

Dashboard URL and trusted HTTPS certificate

The SAML assertion consumer and the Wazuh dashboard address must match exactly, including the hostname and scheme. Confirm the public or internal dashboard URL, and check that its HTTPS certificate is issued by an authority your analysts' browsers and the OneLogin service trust. A self-signed or expired certificate causes sign-in failures that look like SAML errors but are really trust failures.

A group-to-role access plan

Decide in writing which OneLogin groups receive which Wazuh roles before you open the connector. Name the owner of each group, who may add members, and what happens when someone leaves the security team. Map at least one group to an administrator role and keep the list short. Ambiguous group ownership is the most common source of over-privileged access after go-live.

A break-glass local account

Plan a local Wazuh administrator that does not depend on OneLogin, and store its credentials in a sealed location under a documented procedure. Confirm that this account still works after SSO is enabled. Decide who may use it, when, and how each use is logged and reviewed, so that an identity provider outage does not lock the security team out of the platform.

Configuration sequence for OneLogin SAML in Wazuh

This sequence connects the OneLogin application to the Wazuh dashboard in a fixed order, so each side has the values it needs before sign-in is tested. It ends with a verified login for a mapped user and a confirmed fallback path.

  1. Record the Wazuh dashboard entity ID and callback URL

    The Wazuh administrator confirms the dashboard address, the SAML entity ID and the assertion consumer service URL that the Wazuh single sign-on documentation specifies for the installed version, then copies them into a change record. OneLogin needs these exact values, and a mismatch later causes the sign-in to fail before any user attributes are checked. Done when the administrator can show the recorded values next to the dashboard URL they will use, and the values match the version in the Wazuh documentation for the deployed release.

  2. Create the SAML application in OneLogin

    The OneLogin administrator creates a SAML application for the Wazuh dashboard and enters the entity ID and assertion consumer URL recorded in the previous step. The application is assigned only to the users and groups who should reach the dashboard. Confirm the exact menu names and field labels in the current OneLogin admin console, since they change between releases. Done when the application appears in the admin console with the recorded URLs saved and the test users are assigned.

  3. Configure the NameID and attribute statements

    The administrator sets the NameID value and adds an attribute statement that sends the user's group membership in the SAML response. The attribute name must match what the Wazuh connector will read, so the team takes that name from the Wazuh single sign-on documentation rather than from memory. Keep the group list limited to groups relevant to the dashboard. Done when a test sign-in from an assigned user produces a SAML response that carries the NameID and the group attribute.

  4. Export the OneLogin metadata or signing certificate

    The administrator downloads the identity provider metadata or the signing certificate and the sign-on URL from the OneLogin application, then stores the file on the Wazuh server with restricted permissions. The Wazuh connector needs this material to verify signed responses, so an expired or wrong certificate is a common cause of failed logins. Record the certificate expiry date in the team's calendar. Done when the file is present on the Wazuh host, its fingerprint matches the value shown in OneLogin, and the expiry date is recorded.

  5. Add the SAML connector in Wazuh

    On the Wazuh server, the administrator adds the SAML connector using the identity provider values exported from OneLogin, following the configuration file and restart steps in the Wazuh single sign-on documentation for the installed release. Change control applies here, because the file holds trust settings and should be backed up before editing. Done when the Wazuh service restarts cleanly, the logs show no configuration errors, and the dashboard shows a single sign-on option on the login page.

  6. Set the group to role mapping

    The administrator maps each OneLogin group value that arrives in the SAML response to a Wazuh role, starting with the smallest set of roles the team needs. Group identifiers are copied from the decoded response, not typed from the OneLogin group name. Decide in advance which OneLogin group is allowed to hold the administrator role. Done when a test user in each mapped group receives the expected Wazuh role and a user outside every mapped group is denied access.

  7. Test sign-in and confirm the fallback admin account

    The team signs in with an assigned OneLogin user for each mapped role, then signs out and confirms the local fallback administrator account still works with its password and multi-factor method if the team has enabled it. Testing covers a denied user and a failed certificate scenario in a non-production environment where possible. Record each result with the time and the role observed. Done when every mapped role behaves as designed, the denied user is blocked, and the fallback account signs in successfully.

Mapping OneLogin groups and attributes to Wazuh roles

Start in OneLogin by deciding which users reach the Wazuh application and which group or role membership determines their access level. Keep the number of groups small and named for the access they grant, so a reviewer can read the list without a lookup table. Illustrative group names such as wazuh-admins, wazuh-analysts and wazuh-readonly show the pattern, but your identity team should use names that match its own directory conventions.

  • Dedicated groups: Create groups used only for Wazuh access, so changes to other applications do not change Wazuh roles.
  • Membership source: Record whether membership comes from directory sync, HR-driven provisioning or manual assignment, since that determines who can change access.
  • Application assignment: Assign the groups to the Wazuh SAML application so that only intended users can sign in.
  • Naming review: Agree the group list with the security team before mapping, because renaming later breaks every mapping that refers to it.

Confirm in OneLogin's documentation how group membership is exposed to the application in your tenant before relying on a specific setting.

Attribute and role mapping reference

This table lists each value you must align between the OneLogin SAML app and the Wazuh dashboard, with the test that confirms the match. Read it row by row before the first sign-in, and treat any value marked for confirmation as something to check against the Wazuh documentation for your release rather than assume. The main takeaway is that a mismatch in the user identifier or group attribute usually shows up as a failed role assignment, not a failed login.

FieldOneLogin and SAML settingWazuh-side mapping and test
User identifierNameID value set in the OneLogin app, such as the user's email or username (confirm the format in the app)Username the Wazuh dashboard creates on first login. Test: sign in with a test user and confirm the account name matches the expected value.
EmailEmail attribute mapped from the OneLogin user profile to the SAML assertion (confirm the attribute name the Wazuh guide expects)Email stored on the Wazuh user record. Test: open the user record in the dashboard and compare the email with the OneLogin profile.
Group membershipGroups attribute in the assertion, populated from OneLogin roles or groups (confirm the attribute name and whether values are group names or IDs)Group-to-role mapping key in the Wazuh SSO configuration. Test: sign in as one user per group and check which Wazuh role is assigned.
Default roleBehavior when a user has no matching group in the assertion (no OneLogin setting, decided by how you assign groups)Default role applied by Wazuh when no mapping matches, if the configuration supports one (confirm in the Wazuh documentation). Test: sign in with an unassigned user and confirm the role is minimal.
Audience and entity IDSP entity ID and audience restriction copied from the Wazuh configuration into the OneLogin appMust match exactly, including trailing slashes (confirm the format in the Wazuh documentation). Test: a login attempt with a mismatched value should fail with a clear SAML error.
ACS URL and recipientAssertion Consumer Service URL in the OneLogin app pointing to the Wazuh dashboard endpointMust match the dashboard address the users open. Test: complete a sign-in from a clean browser session and confirm redirect back to the dashboard.
Fallback local adminNot configured in OneLogin. Kept as a local account that does not depend on SAMLLocal admin account in the Wazuh internal user database. Test: sign in with it while the OneLogin connector is disabled in a planned test window.

Security settings for the OneLogin connection

The OneLogin connection decides who can reach the Wazuh dashboard and what they can do once inside. The cards below cover the trust settings, the access scope in OneLogin, the break-glass account, network exposure, logging and session behavior. Check each setting against your own OneLogin tenant and Wazuh configuration, since menu names and defaults vary by version.

Signed assertions and certificate rotation

The Wazuh server trusts a SAML response only if it is signed by the OneLogin signing certificate it was configured with. Confirm that OneLogin signs the assertion, not just the response wrapper, and that the certificate and entity values in the Wazuh SAML configuration match the OneLogin application exactly. Record the certificate expiry date and plan a rotation window, because a rotated certificate that is not updated in Wazuh will stop all SSO logins.

Wazuh SSO docs

Restricting app access to the security group

Assign the Wazuh application in OneLogin only to the security staff group, so users outside that group cannot start a sign-in at all. Role mapping inside Wazuh decides what an authenticated user can do, but it does not stop a user who lacks an assignment from reaching the login page. Test with one account outside the group and one inside it, and confirm the first is refused by OneLogin.

Keeping the local admin credentials offline

The local Wazuh administrator account is the fallback when OneLogin or the SAML configuration fails. Store its password in a sealed, access-logged vault that is separate from the OneLogin admin team, and confirm it still works by logging in from a test session on a set schedule. Also confirm that a sign-in with this account is alerted, so its use is never silent.

Limiting dashboard network exposure

Decide which networks can reach the Wazuh dashboard and the SAML assertion consumer endpoint, and restrict them at the load balancer or firewall. Keep the dashboard off the public internet unless your risk review says otherwise, and check that the OneLogin callback address resolves to the intended internal name. Confirm this with your network team, since the exact ports and proxy behavior depend on your deployment.

Auditing sign-in events

Forward OneLogin events, including sign-in successes, failures and application assignment changes, to your central log store, and keep Wazuh's own authentication logs alongside them. Compare the two streams during testing so a failed login in OneLogin can be matched to a Wazuh rejection. Confirm retention periods with your compliance owner, since they are set by your organization rather than by either product.

Session timeout behavior

Set the dashboard session lifetime in Wazuh and the session policy in OneLogin so that an idle analyst is signed out within a period your security policy allows. Check whether a revoked OneLogin account keeps an open Wazuh session until it expires, and document the answer. Test by disabling a test user in OneLogin and confirming that the next dashboard action is refused.

How a Wazuh dashboard login flows through OneLogin

The sign-in starts in the user's browser at the Wazuh dashboard, which redirects the user to OneLogin for authentication. OneLogin returns a SAML assertion carrying group attributes, and the Wazuh server maps those groups to Wazuh roles before the session opens. The trust boundary sits between the organization network and OneLogin, so check the assertion attributes and the local admin path before relying on SSO alone.

SAML sign-in path from the browser through OneLogin to Wazuh role mapping.

Why the OneLogin login fails and how to fix it

This table lists the failures most often seen when OneLogin SAML sign-in to the Wazuh dashboard does not work, with the likely cause, the check to run and the fix for each. Work through the rows in order, because the first two usually explain the majority of failed logins. Confirm exact error messages and log locations in the Wazuh single sign-on documentation for your version before you act on them.

SymptomLikely causeCheck to runFix
Identity provider rejects the request or the dashboard cannot start sign-inEntity ID or ACS URL in OneLogin does not match the values in the Wazuh SAML configurationCompare the entity ID and ACS URL in the OneLogin connector with the values in the Wazuh SAML settings, character by character, including trailing slashes and the https schemeCopy the values from one system into the other and save both, then retry a fresh sign-in in a private browser session
Sign-in fails after the IdP certificate was rotatedThe certificate stored in Wazuh still belongs to the previous OneLogin signing certificateCheck the expiry and fingerprint of the certificate currently active in the OneLogin connector and compare it with the one in the Wazuh configurationExport the current certificate from OneLogin, replace it in the Wazuh configuration, restart the affected services as the documentation describes, and test again
User signs in but has no access to dashboard featuresThe group or role attribute is missing from the SAML assertion, or its name differs from the one Wazuh expectsReview the attribute statement OneLogin sends for a test user and confirm the attribute name and values match the Wazuh role mapping exactlyAlign the attribute name in the OneLogin parameter settings with the mapping in Wazuh, add the value for the group the user belongs to, and sign in again
User lands in the dashboard with no role or only minimal rightsGroup membership in OneLogin does not map to any Wazuh role, so the user falls back to no roleConfirm the user is in the expected OneLogin role, that the mapping lists that exact value, and that the user is not assigned to a group with a different nameAdd the missing mapping or correct the group value, then have the user sign out completely and sign in again so the new assertion is issued
Assertion is rejected with a time or validity complaintClock skew between OneLogin, the Wazuh host and the user's browser, which pushes the assertion outside its validity windowCompare the system time on the Wazuh server and indexer hosts with an authoritative time source, and check that the time sync service is runningCorrect time synchronization on the Wazuh hosts, then retest. Do not widen validity settings to hide the drift.
Browser returns to the login page repeatedly after the identity provider stepSession or cookie problems, a mismatch between the public URL and the configured URL, or a failed role lookup after the redirectCheck that the dashboard is reached through the same hostname used in the SAML configuration, and that browser cookies are not blocked for that hostUse the configured hostname consistently, correct any proxy or load balancer headers, clear old session cookies, and retest with a single test account
Admin access is needed but SSO is brokenNo local fallback account was tested before the SSO change, so the team cannot sign in to change the configurationConfirm that a break-glass local administrator exists and that its credentials are stored in your approved secrets processSign in with the local admin account, correct the SSO settings, then retest SSO for each role before closing the change

Questions buyers ask about OneLogin SSO for Wazuh

How long does OneLogin SSO setup for Wazuh take?

The duration depends on how many applications and roles you map, how ready your OneLogin directory and group structure already are, and how many test cycles your security team requires before go-live. A single SAML connector with a small number of roles is usually a bounded task, while a directory cleanup or a large role matrix adds time. Ask any partner for a written scope with named milestones before accepting a schedule, and confirm which steps depend on access to your OneLogin tenant and Wazuh server.

Can our in-house team configure OneLogin SAML for Wazuh without a partner?

Often yes, if you have an administrator who already manages OneLogin applications and someone who can change the Wazuh dashboard and server configuration. The work is well documented in Wazuh's single sign-on guide, but the risk sits in the details: attribute names, group values that must match role mappings exactly, and the local admin fallback. If your team lacks SAML experience or cannot run a controlled test of every role before users are moved, a partner can carry that verification work. Either way, decide who owns the change record and the rollback steps.

What does the work need from OneLogin and Wazuh administrators?

You need a OneLogin administrator who can create the SAML application, set attribute statements, and assign users or groups to it. You also need someone who can edit the Wazuh dashboard security configuration and restart services on the Wazuh server, usually an engineer with root or equivalent access. Expect the team to agree on which OneLogin groups map to which Wazuh roles, approve test accounts, and confirm who can see logs that show sign-in attempts. Early agreement on these inputs prevents most stalled tests.

Does the self-hosted Wazuh software have a license fee?

No. Wazuh is distributed under the GNU General Public License version 2, with an exception that permits linking with the OpenSSL library, and the self-hosted software carries no license fee. Your costs for a self-hosted deployment are the infrastructure you run it on, the staff time to operate it, and any implementation or support work you buy. Review the LICENSE file on GitHub with your legal team, since obligations under GPL v2 apply to how you distribute modified code, which is a separate question from using the software internally.

What changes if we use Wazuh Cloud instead of self-hosting?

Wazuh Cloud is the vendor's managed, cloud-delivered XDR and SIEM service, so the vendor operates the platform rather than your team. That shifts hosting, upgrades and part of the operational burden away from you, but it also changes where your security data lives and how much control you have over the stack. Plans come in Small, Medium, Large and Custom tiers, and every paid plan includes at least Standard support. Before deciding, confirm with Wazuh how identity federation, log residency and fallback access work in the managed service, since the SAML setup in this guide assumes a dashboard you administer.

How do we test fallback access so we are not locked out?

Keep a local Wazuh admin account that does not depend on OneLogin, store its credentials in your approved secrets system, and test it before enabling SSO enforcement. Then verify it with a controlled login after each change to the SAML configuration, and confirm that it can still reach the dashboard when the OneLogin connector is disabled in a test window. Record who can use the account, when it was last used and where the credentials are kept. Schedule a repeat test after each Wazuh upgrade, because configuration changes can alter how the login page and roles behave.

Which role mapping mistakes cause the most access problems?

The most common problem is a mismatch between the group or attribute value sent by OneLogin and the value the Wazuh role mapping expects, which usually results in users signing in with no role or with a broader role than intended. Other frequent issues include users who belong to several groups, inconsistent naming between environments, and mappings that were not reviewed after staff changed teams. Test one account per role, including a user who should be denied, and keep the mapping under change control so each access decision can be traced.

How DeployOpen scopes and delivers Wazuh SSO with OneLogin

DeployOpen approaches Wazuh SSO with OneLogin as a fixed-scope engagement inside your own infrastructure. We agree the OneLogin connector settings, role and group mapping, and fallback access in writing before work starts, then build, test and document the sign-in path so your security and identity teams can review it.

How we scope

  • Agree in writing which Wazuh dashboard instance, OneLogin tenant and user groups are in scope for SAML sign-in.
  • Map which OneLogin groups or attributes should correspond to each Wazuh role before any configuration begins.
  • Confirm who keeps the local fallback administrator account, where its credentials are stored and who can use it.

How we build

  • Configure the OneLogin SAML application and the Wazuh SAML connector settings, including endpoints and certificates, in a non-production environment first.
  • Test role assignment with named analyst and administrator accounts and confirm that users without a mapped group cannot reach the dashboard.
  • Verify that the fallback account still signs in when the identity provider is unavailable, and record the test results.

How we hand over

  • Deliver a configuration record covering connector settings, attribute and group mappings, and the role matrix for your reviewers.
  • Walk your identity and security staff through the sign-in flow, the change procedure for group mappings and the fallback account process.
  • Document the steps to rotate certificates and to add or remove a role mapping so your own team can maintain the setup.

How we support

  • Support after handover can be arranged as a retainer, with scope for upgrades of the Wazuh dashboard and changes to the identity provider.
  • Retesting of sign-in and role mapping can follow Wazuh upgrades or OneLogin tenant changes, as agreed in the written scope.
  • Ask for the retainer terms, response expectations and the named contacts in your quote before committing to ongoing work.

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.