Skip to content

triauth for n8nOIDC

Let your team open the n8n editor with one approval on their own device, and no n8n passwords.

  • Workflow automation
  • Commercial
Sign-in through
OpenID Connect bridge
Available in
Paid plans with single sign-on, cloud and self-hosted
Set up in
Settings › SSO

About n8n

n8n is a workflow automation platform. People connect applications and APIs in a visual editor, add code or AI agents where they need them, and run the flows on n8n's cloud or on their own server. Teams use it for integrations, internal automations, and AI assistants.

Connect n8n to triauth

n8n signs people in through the triauth OpenID Connect bridge. Once connected, the sign-in page leads with Continue with SSO. People on your team click it, type their username, and approve on their own device. Nobody keeps an n8n password, and when someone leaves, removing their identity records at your domain ends their access to n8n as well.

How it works

  1. In n8n, open Settings › SSO, choose OIDC under Select Authentication Protocol, and copy the Redirect URL shown, https://n8n.example.com/rest/sso/oidc/callback with your own n8n address.

  2. Open oidc.triauth.org and enter your domain. Paste the redirect URL and click Connect app. The bridge gives you a client ID and a client secret.

  3. Back in n8n, fill in the fields below with your domain in place of example.com, click Save settings, and set OIDC to Activated.

    FieldValue
    Discovery Endpointhttps://oidc.triauth.org/example.com/.well-known/openid-configuration
    Client ID and Client Secretfrom the bridge
    PromptSelect Account, the default, or Login or Consent. Not None
  4. Sign out and click Continue with SSO.

Checkpoint

n8n's sign-in page shows Continue with SSO. Choosing it opens a page from the bridge that asks for the username, and the person's authenticator asks them to approve.

Good to know

  • Everyone with an identity at your domain gets an n8n member account the first time they sign in. To let only one team in, limit the app to a group when you connect it. The instance owner keeps the password sign-in as a fallback.
  • Under Role assignment, choose Instance roles via SSO with Map rules inside n8n to give roles by the groups published at your domain, with rules that check whether $claims.groups contains a group such as n8n-admins@example.com.
  • Single sign-on is part of n8n's paid plans, in the cloud and on your own server.

For the person who connects the app

SettingValue
Redirect addresshttps://<your-n8n>/rest/sso/oidc/callback, shown on the SSO settings page
Where in n8nSettings › SSO, or the N8N_SSO_OIDC_* environment variables in newer versions
Discovery Endpointthe full address of the bridge's discovery document. n8n reads everything else from it
Clientn8n keeps the client secret, so leave This app can't keep a secret unticked when you connect it on the bridge
Namesn8n reads first and last names, which the bridge does not send, so new people start without a name. Leave Log out from identity provider off

n8n's OIDC setup guide explains every field, and the role provisioning pages cover the mapping rules.

Next steps

All logos and trademarks belong to their respective owners and do not imply affiliation or endorsement of the organization or product by triauth, nor vice versa. The content provided on this page may include information from third-party sources. We do not assume any responsibility for the completeness, correctness, or applicability of the information. You should independently verify any details before relying on them.