How to set up Single Sign-On (SSO) on TagoRUN with Auth0
Hi everyone!
In this tutorial, I'll show you how to configure
Single Sign-On (SSO) on your TagoRUN using the Auth0 authentication platform. The steps below can also be applied to other platforms, as they are all very similar.
- Create an account in Auth0
- Create a new Application with the type Single Page Application
- Open the new Application to configure it
- Enable SAML2 Web App addon in the Addons tab

- Download the Identity Provider metadata file in the SAML2 modal

- Copy the ACS URL from the Single Sign-On tab on the TagoRUN edit page

- Set the Application Callback URL to the copied ACS URL in the SAML2 addon

- Copy the SLO URL from the Single Sign-On tab on the TagoRUN edit page
- Set the settings object in the SAML2 addon and use the copied SLO URL in ‘callback’ parameter

- Click to Enable the SAML2 addon at the bottom of the modal

- Go to the Settings tab in the Auth0 application
- Ensure that Allowed callback URLs include the ACS URL

- Ensure that Allowed logout URLs include the login page address for TagoRUN

- Import the metadata file in the RUN edit page (Admin > RUN > Integrations > Single Sign-on)

- Set the email mapping to http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress
- Set the name mapping to http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name

- Click Enable to enable SSO integration and save the TagoRUN to deploy
Troubleshooting
After configuring SSO, I am being redirected to the Identity Provider login page, but I’m seeing an error message for ‘missing email field’ or ‘missing name field’.

To solve that issue, you need to configure mappings for SAML attributes on both the Identity Provider and TagoIO Admin.
And that is all!
If you need any assistance, feel free to add a comment below!