n8n SSO with Okta (SAML)

Use the documented Okta Workforce Identity SAML integration.

Last updated

On this page (5)

n8n · Okta · SAML

Before you start

  • n8n Cloud Enterprise or self-hosted Business or Enterprise.
  • n8n owner or admin and Okta Workforce Identity admin access.

Configure sign-in

  1. Copy the Redirect URL and Entity ID from n8n’s SAML settings. Create an Okta SAML 2.0 integration using these as Single sign-on URL and Audience URI.
  2. Set attribute statements using the prefix http://schemas.xmlsoap.org/ws/2005/05/identity/claims/: emailaddress = user.email; firstname = user.firstName; lastname = user.lastName; upn = user.login. Assign pilot users.
  3. Copy XML from the Okta Sign On tab’s Metadata URL into n8n Identity Provider Settings. Save, run Test settings, and activate SAML after success.

Verify the result

  • Confirm upn values are unique per user and never a constant.
  • Verify an assigned user reaches the intended n8n account and an unassigned user is denied.

Official documentation

Have Pilae connect your identity provider

Pilae can deploy n8n with your identity provider already connected. We agree the edition, account mapping and access tests with your team before rollout.