triauth for n8nOIDC
Let your team open the n8n editor with one approval on their own device, and no n8n passwords.
- 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
In n8n, open Settings › SSO, choose OIDC under Select Authentication Protocol, and copy the Redirect URL shown,
https://n8n.example.com/rest/sso/oidc/callbackwith your own n8n address.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.
Back in n8n, fill in the fields below with your domain in place of
example.com, click Save settings, and set OIDC to Activated.Field Value Discovery Endpoint https://oidc.triauth.org/example.com/.well-known/openid-configurationClient ID and Client Secret from the bridge Prompt Select Account, the default, or Login or Consent. Not None 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.groupscontains a group such asn8n-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
| Setting | Value |
|---|---|
| Redirect address | https://<your-n8n>/rest/sso/oidc/callback, shown on the SSO settings page |
| Where in n8n | Settings › SSO, or the N8N_SSO_OIDC_* environment variables in newer versions |
| Discovery Endpoint | the full address of the bridge's discovery document. n8n reads everything else from it |
| Client | n8n keeps the client secret, so leave This app can't keep a secret unticked when you connect it on the bridge |
| Names | n8n 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
- Read the OpenID Connect bridge page for what every connected app gets and what the bridge keeps private.
- Read Roll out to your team to give everyone in your organization an identifier at your domain.
- Read Groups to publish the groups that n8n's role rules refer to.
- Read n8n's OIDC setup guide for every setting n8n offers.
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.