Skip to content

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.

  • Identity and access
  • Cloud service
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

  1. Open oidc.triauth.org and enter your domain. Paste Auth0's redirect address, https://example.us.auth0.com/login/callback with your own tenant domain in place of example.us.auth0.com, and click Connect app. The bridge gives you a client ID and a client secret.

  2. 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.

    FieldValue
    Connection nameexample-com
    OpenID Connect Discovery URLhttps://oidc.triauth.org/example.com/.well-known/openid-configuration
    Client IDfrom the bridge
    Communication ChannelBack Channel
    Client Secretfrom the bridge
  3. On the connection's Settings tab set Scopes to openid, email, profile, and on Login Experience add example.com under Home Realm Discovery. Then enable the connection for each application that should accept it.

  4. 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 groups scope 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

SettingValue
Redirect addresshttps://<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 Auth0Authentication › Enterprise › Open ID Connect, then the Settings, Login Experience, and Provisioning tabs
Discovery URLthe 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
ChannelBack Channel, the authorization code flow with the client secret. Front Channel is the implicit flow, which the bridge does not offer
Groupsa Connection Profile with "attribute_map": { "mapping_mode": "use_map", "userinfo_scope": "openid email profile groups", "attributes": { "groups": "${context.userinfo.groups}" } }
NamesSync 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

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.