n8n SSO and access control

Signing users in to n8n through an identity provider and controlling what they can see and change with roles, projects and security policies.

n8n SAML SSO with Okta Workforce Identity

Connecting n8n to Okta over SAML: the app integration, attribute statements, testing before enforcing, manual login exemptions for break-glass accounts, and deprovisioning gaps.

n8n SAML SSO with Microsoft Entra ID

Setting up n8n sign-in through Microsoft Entra ID (Azure AD) with SAML: enterprise application, identifiers and reply URL, claims mapping, group-based access and user removal steps.

n8n OIDC SSO with Keycloak

Using Keycloak as n8n's OpenID Connect provider: the confidential client, redirect URL, discovery endpoint, turning off PKCE and state requirements n8n cannot yet meet, and role provisioning.

n8n LDAP login with Active Directory

Letting staff sign in to n8n with directory credentials: connection and bind settings, user filters to limit who can log in, attribute mapping, sync behavior and keeping a local owner account.

Provisioning n8n roles from SSO groups

Mapping identity provider groups to n8n instance and project roles: the disabled, instance_role and instance_and_project_roles modes, role mapping rules, and testing before rollout.

Creating custom roles in n8n Enterprise

Designing least-privilege custom project and instance roles in n8n: granular permissions for workflows, credentials and folders, delegated admin tasks without full Admin, and role reviews.

Enforcing two-factor authentication in n8n

Requiring 2FA for every email and password login in n8n: the security setting, recovery codes, how SSO users are treated, and disabling 2FA instance-wide with N8N_MFA_ENABLED.

Configuring n8n SSO and security policies as code

Managing n8n identity settings from environment variables: N8N_SSO_MANAGED_BY_ENV, OIDC variables, locked UI controls and standing up a fully configured instance from a Helm chart or Compose file.

Offboarding users from n8n

Removing leavers cleanly: why IdP removal does not end n8n sessions, deleting users and transferring their workflows and credentials, deleting projects, and rotating credentials they could use.

Managing n8n API keys and scopes

Issuing API keys for CI/CD and integrations: labels and expiry, Enterprise scopes, the X-N8N-API-KEY header, one key per pipeline, and revoking keys during offboarding.

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.