Prerequisites
- A TrueFoundry tenant with Admin access to Settings → Security & Access → SSO.
- An Auth0 tenant with permission to create Applications (Administrator role on the tenant).
Configuration overview
Create a Regular Web Application in Auth0
Register a new application in your Auth0 tenant that TrueFoundry will federate with.
Copy the OIDC credentials into TrueFoundry
Paste the Auth0 Domain, Client ID, and Client Secret into the TrueFoundry SSO form.
Step 1 — Create an application in Auth0
Open Applications
Sign in to the Auth0 dashboard as an administrator.In the left navigation, expand Applications and click Applications, then click Create Application in the top-right.
Choose the application type
Fill in:
- Name — a label such as
TrueFoundry. - Application type — choose Regular Web Applications.
Step 2 — Add TrueFoundry’s callback URL
Add the Allowed Callback URL
On the Settings tab, scroll down to Application URIs and set Allowed Callback URLs to:
Step 3 — Copy the OIDC credentials
Still on the Settings tab, scroll up to the Basic Information section.| Auth0 field | Where you’ll paste it in TrueFoundry |
|---|---|
| Domain | Used to build the Issuer URL |
| Client ID | Client ID |
| Client Secret | Client Secret |

Step 4 — Configure TrueFoundry
Open SSO settings
In TrueFoundry, go to Settings → Security & Access → SSO.Click the + icon labeled Add New SSO Config.

Fill in the SSO form
- Enabled: turn this on.
-
Name: a lowercase alphanumeric label — for example,
auth0oidc. - SSO Provider: select Custom.
- Authentication Configuration: choose OIDC.
- Client ID: the Client ID from Auth0.
- Client Secret: the Client Secret from Auth0.
- Discover endpoints: leave enabled.
-
Issuer URL:
Replace
<your-tenant>with the Domain from your Auth0 application — for example,https://acme.us.auth0.com/. If you use a custom Auth0 domain, use that instead (for example,https://auth.acme.com/). -
Scopes (optional): leave blank to use the default
openid email. Addprofileif you want first and last name in the token.
Step 5 — Test single sign-on
- Open a private/incognito window and visit your TrueFoundry login page.
- Click Login with Auth0 (or whichever button label you chose under Show advanced fields → Button Text).
- Authenticate with an Auth0 user.
Optional next steps
- Use SAML instead — see SAML with Auth0 for the equivalent SAML 2.0 flow.
Troubleshooting
'Issuer did not match' or 'Failed to discover endpoints'
'Issuer did not match' or 'Failed to discover endpoints'
Almost always a trailing-slash problem. The Auth0 issuer must end with
/ — use https://<tenant>.auth0.com/, not https://<tenant>.auth0.com. Update the Issuer URL in TrueFoundry and save again.'Callback URL mismatch' on the Auth0 consent screen
'Callback URL mismatch' on the Auth0 consent screen
The exact URL
https://login.truefoundry.com/oauth2/callback is missing from Allowed Callback URLs on the Auth0 application. Add it (comma-separated if other URLs already exist), save changes, and retry.Sign-in works but the user's email is empty
Sign-in works but the user's email is empty
Auth0 only emits the
email claim when the application requests the email scope. The TrueFoundry default already includes it, but if you overrode Scopes, make sure email is in the list — for example, openid email profile.If you still see an empty value, expand Show advanced fields in TrueFoundry and set Email Claim to the claim name Auth0 emits (usually email).