Setting up SSO with Auth0
Connect ilert to Auth0 using the SAML2 Web App addon, including the settings object that makes Auth0 send the user's email address as the name ID.
Auth0 exposes SAML through an addon on a regular application rather than a dedicated app type, which is the part most people get stuck on.
Prerequisites
The Pro plan or higher
The account owner role in ilert — no other role can change login authentication
Access to your Auth0 Dashboard
Open the ilert side first
In the sidebar, go to Settings → Account settings → Single sign-on and choose SAML (e.g. Okta) from the dropdown. That option covers every SAML 2.0 provider, Auth0 included.
Under Information to configure your identity provider, ilert shows two read-only values. Auth0 needs both:
SAML Endpoint URL
https://acme.ilert.com/api/sso/saml/acme/consume
Audience Restriction
ilert-acme

Create the application in Auth0
Configure the addon
In the dialog that opens, go to the Settings tab.
Paste ilert's SAML Endpoint URL into Application Callback URL.
Replace the sample settings object with this one, substituting your own Audience Restriction:
nameIdentifierProbes is what makes Auth0 send the user's email address as the SAML name ID. ilert matches users by email, so without it the login fails to resolve to an ilert account.
Copy Auth0's values back into ilert
Reopen the SAML2 addon and switch to the Usage tab. It lists the values ilert needs, under Configure ilert as your service provider:
Identity Provider Login URL
Login URL
Issuer
Identity Provider Issuer
Contents of the signing certificate
X.509 Certificate
Download the certificate, open it in a text editor, and paste everything including the -----BEGIN CERTIFICATE----- and -----END CERTIFICATE----- lines.
Click Save in ilert.
To verify, open app.ilert.com in a private browser window, click Login with SSO, and enter your ilert subdomain. Auth0 should take over the sign-in.
Optional settings
These sit below the provider fields on the ilert Single sign-on tab.
Provision new users on first sso login
Creates the ilert user automatically on first successful sign-in, with the Responder role. Requires a free seat of that kind. Pass additional attributes to set the role and team instead.
Allow login with username and password
Turn it off to require SSO. Read the warning below first.
Check provisioning attribute
Restricts auto-provisioning to responses carrying a named SAML attribute. See auto provisioning.
Compress AuthnRequests
Deflates the authentication request. Only if your Auth0 configuration requires it.
Longer sessions
Keeps users signed in longer, as though they had ticked Keep me logged in.
Test before you turn off password login.
With Allow login with username and password cleared, a misconfigured SAML setup locks out everyone including the account owner. Sign in through Auth0 in a private browser window first, and only then clear the checkbox.
Pass roles and teams from Auth0
Beyond the name identifier, Auth0 can send attributes that set an ilert user's role, team, and profile details at provisioning time.
Last updated
Was this helpful?