triauth for Auth0OIDC
Let the people at your domain sign in to every app built on your Auth0 tenant with one approval on their own device.
- Sign-in through
- OpenID Connect bridge
- Available in
- Plans with enterprise connections, one on the free plan
- Set up in
- Authentication › Enterprise › OpenID Connect
About Auth0
Auth0 is a hosted login service for app developers. An app hands sign-up, passwords, social logins, and multi-factor to Auth0 and never stores credentials itself. An enterprise connection lets the staff of a customer organization sign in to that app through their own identity provider.
Connect Auth0 to triauth
Auth0 signs people in through the triauth OpenID Connect bridge, as an enterprise connection. Once connected, people at your domain type their email address on the app's login page, are sent to the bridge, and approve on their own device. Auth0 then signs them into the app as usual. Nobody keeps an Auth0 password, and when someone leaves, removing their identity records at your domain ends their access to every app on the tenant.
How it works
Open oidc.triauth.org and enter your domain. Paste Auth0's redirect address,
https://example.us.auth0.com/login/callbackwith your own tenant domain in place ofexample.us.auth0.com, and click Connect app. The bridge gives you a client ID and a client secret.In the Auth0 Dashboard, open Authentication › Enterprise, find Open ID Connect, click Create, and fill in the fields below with your domain in place of
example.com.Field Value Connection name example-comOpenID Connect Discovery URL https://oidc.triauth.org/example.com/.well-known/openid-configurationClient ID from the bridge Communication Channel Back Channel Client Secret from the bridge On the connection's Settings tab set Scopes to
openid, email, profile, and on Login Experience addexample.comunder Home Realm Discovery. Then enable the connection for each application that should accept it.Open one of those apps and type an address at your domain on the login page.
Checkpoint
The login page sends an address at your domain straight to a page from the bridge that asks for the username, and the person's authenticator asks them to approve. Auth0 then opens the app.
Good to know
- Everyone with an identity at your domain gets a user profile on the tenant the first time they sign in, and reaches the apps the connection is enabled for. To let only one team in, limit the app to a group when you connect it.
- The groups published at your domain reach the Auth0 profile through the connection's attribute map, with the
groupsscope and the userinfo endpoint. Auth0's own roles stay separate. - The number of enterprise connections depends on the plan: one on the free plan, more on the plans made for business customers.
For the person who connects the app
| Setting | Value |
|---|---|
| Redirect address | https://<your tenant domain>/login/callback. A tenant with a custom domain has a second callback host, and the bridge takes one per client, so register the domain your login page uses |
| Where in Auth0 | Authentication › Enterprise › Open ID Connect, then the Settings, Login Experience, and Provisioning tabs |
| Discovery URL | the bridge's discovery document in full, or the issuer https://oidc.triauth.org/<your domain>. The form shows a green mark when it finds the document |
| Channel | Back Channel, the authorization code flow with the client secret. Front Channel is the implicit flow, which the bridge does not offer |
| Groups | a Connection Profile with "attribute_map": { "mapping_mode": "use_map", "userinfo_scope": "openid email profile groups", "attributes": { "groups": "${context.userinfo.groups}" } } |
| Names | Sync user profile attributes at each login syncs name. The bridge sends no first or last name |
Auth0 keeps the client secret, so leave This app can't keep a secret unticked when you connect it on the bridge. Auth0's OpenID Connect connection guide explains every field, and the PKCE and claim mapping page covers the attribute map.
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 Auth0 maps into profiles.
- Read Auth0's OpenID Connect connection guide for every setting Auth0 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.