Skip to content

Set up Single Sign-On (SSO)#

Feature availability

  • Available on Business and Enterprise plans.
  • You need to be an instance owner or admin to enable and configure SAML or OIDC.

n8n supports the SAML and OIDC authentication protocols for single sign-on (SSO). See OIDC vs SAML for more general information on the two protocols, the differences between them, and their respective benefits.

  • Set up SAML: a general guide to setting up SAML in n8n, and links to resources for common identity providers (IdPs).
  • Set up OIDC: a general guide to setting up OpenID Connect (OIDC) SSO in n8n.

Configure SSO with environment variables#

You can also configure SSO from environment variables instead of through the UI. Available from n8n v2.18.0. See SSO environment variables for the full list of variables, and Manage instance settings using environment variables for how the activation pattern works.

This page was