triauth for TwentyOIDC
Let your sales team open Twenty with one approval on their own device, and no Twenty passwords.
- Sign-in through
- OpenID Connect bridge
- Available in
- Paid plans with single sign-on, cloud and self-hosted
- Set up in
- Settings › Security › SSO
About Twenty
Twenty is an open-source CRM: a shared database of companies, people, and deals with pipelines, notes, tasks, email and calendar sync, and workflow automation. Teams use the hosted service or run it themselves, and each workspace has its own sign-in settings.
Connect Twenty to triauth
Twenty signs people in through the triauth OpenID Connect bridge. Once connected, the sign-in page offers Single sign-on (SSO) with your domain's name. People on your team click it, type their username, and approve on their own device. Nobody keeps a Twenty password, and when someone leaves, removing their identity records at your domain ends their access to Twenty as well.
How it works
- In Twenty, open Settings › Security, click Add SSO Identity Provider, name it
example.com, and choose the type OIDC. Copy the Redirection URI the form shows,https://api.example.com/auth/oidc/callbackwith your own server address. - Open oidc.triauth.org and enter your domain. Paste the redirection URI and click Connect app. The bridge gives you a client ID and a client secret.
- Back in Twenty, fill in Client ID and Client Secret from the bridge and the Issuer URI
https://oidc.triauth.org/example.com, with your domain in place ofexample.com. Save. - Sign out, click Single sign-on (SSO) on the sign-in page, and choose
example.com.
Checkpoint
The sign-in page lists example.com under Single sign-on (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
- Single sign-on is part of Twenty's paid plans, in the cloud and, with a licence key from the admin panel, on your own server.
- People are created on their first sign-in, or only after an invitation, depending on how the workspace is set up. Roles stay in Settings › Members. The groups published at your domain are not used.
- The bridge sends one full name, so first and last name stay empty until people fill them in.
For the person who connects the app
| Setting | Value |
|---|---|
| Redirect address | https://<your server URL>/auth/oidc/callback, shown read-only on the form |
| Where in Twenty | Settings › Security › SSO, per workspace |
| Issuer URI | https://oidc.triauth.org/<your domain>. Twenty reads the discovery document and stores the issuer it finds there |
| Scopes | openid email profile, fixed |
| Authorized URI | the app's address, shown for providers that ask for it. The bridge does not |
Twenty keeps the client secret, so leave This app can't keep a secret unticked when you connect it on the bridge. Twenty's SSO guide covers provisioning, and the OIDC form itself carries the field names above.
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 limit Twenty to one team when you connect it.
- Read Twenty's SSO guide for every setting Twenty 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.