How to use AD authentication with embedded N8N

Hi Team,

we embedded n8n with our project and we have AD authentication.How caan i use this AD authentication into current n8n version.

Information on your n8n setup

  • n8n version: 0.223.1
  • Database (default: SQLite): postgres
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
  • Operating system:

Thank you,
Tanay

Hey @Tanay_Acro,

There are 3 options I can think of but it all depends on if your AD is local or in Azure and how you have n8n embedded with your application.

  1. Use the LDAP option for user authentication - This can work with both on prem AD and Azure AD
  2. Use SAML - This can work with Azure AD and on prem AD
  3. If you are on pre 1.0 you could see if the now removed jwt option can work with something like Keycloak in front of n8n.

Hi @Jon ,

Can you have any reference of first two option. So it can be essayer to understand.

Thank you,
Tanay

Hey @Tanay_Acro,

Both are covered in our documentation, I have put the links below for you. These are not embed specific features and are part of the main n8n application with the correct license.

LDAP: LDAP | n8n Docs
SAML: Security Assertion Markup Language (SAML) | n8n Docs

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.