---
title: "Discussion on \"Step-By-Step Guide to setup Identity Management for wazuh with authentik\" | Hashnode"
description: "Discussion on \"Step-By-Step Guide to setup Identity Management for wazuh with authentik\". Centralized Identity Management when done right gives you and your users the freedom to only remember one password to login to multiple services - single sign-on coupled with Multi-Factor Authentication (MFA) increases security - but... how would you..."
url: "https://hashnode.com/posts/identity-management-wazuh-and-authentik/654d478fb4eb2bc6127f97bd"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Step-By-Step Guide to setup Identity Management for wazuh with authentik](https://maikroservice.com/identity-management-wazuh-and-authentik?utm_source=hashnode&utm_medium=feed)

Centralized Identity Management when done right gives you and your users the freedom to only remember one password to login to multiple services - single sign-on coupled with Multi-Factor Authentication (MFA) increases security - but... how would you...

Nov 9, 2023 · 8 min read · maikroservice.com  
Updated Nov 29, 2023  
Read the article

-   [#hacking](https://hashnode.com/tag/hacking)
-   [#cybersecurity-1](https://hashnode.com/tag/cybersecurity-1)
-   [#blueteam](https://hashnode.com/tag/blueteam)
-   [#siem](https://hashnode.com/tag/siem)

## Written by

[Maik Ro](https://hashnode.com/@maikroservice)

@maikroservice · Gran Canaria, Spain

  
[View profile](https://hashnode.com/@maikroservice)

(he/him) Cybersecurity Expert

Cyber Security my passion. On this blog I am sharing how to detect adversaries with a Purple Team mindset - hack your own applications like an attacker would, to understand how to better protect them.

## Responses 2

Markdown supported · ⌘↵ to post

[Dave](https://hashnode.com/@kq1xdros2)

[Feb 18, 2024](https://hashnode.com/posts/identity-management-wazuh-and-authentik/654d478fb4eb2bc6127f97bd/comment/65d1a309cc5bb2ca75784c20)

Followed your directions and got SAML to work with Authentik. Really appreciate it because I was trying to piece together how to do it from the few examples Wazuh had in its documentation.

One thing I would suggest is selecting the "NameID Property Mapping" to either "authentik default SAML Mapping: Username" or "authentik default SAML Mapping: Name". If neither are selected, the username within Wazuh will be the hashed value of the username, just a long random string.

[Maik Ro](https://hashnode.com/@maikroservice)

[Feb 19, 2024](https://hashnode.com/posts/identity-management-wazuh-and-authentik/654d478fb4eb2bc6127f97bd/comment/65d1a309cc5bb2ca75784c20#reply-65d359683181f38bd13c0307)

Interesting, when I last did this in January this was not the case, for me the name was the correct name guess I will have to rerun this once more and update accordingly.

Thank you for the heads-up

[Tom](https://hashnode.com/@tomlawesome)

[Nov 24, 2023](https://hashnode.com/posts/identity-management-wazuh-and-authentik/654d478fb4eb2bc6127f97bd/comment/6560ee5b29658b9b067c09b8)

Hello,

Just wanted to let you know that there's syntax errors in the block of code in /etc/wazuh-indexer/opensearch-security/config.yml:

" missing from next to Authenticate

The indentation of:

authentication\_backend: type: noop

In the snippet is incorrect too. :)

[Maik Ro](https://hashnode.com/@maikroservice)

[Nov 24, 2023](https://hashnode.com/posts/identity-management-wazuh-and-authentik/654d478fb4eb2bc6127f97bd/comment/6560ee5b29658b9b067c09b8#reply-656118ed29658b9b067c0c50)

thank you for letting me know - will fix it now
