Configuring Retool with Single Sign-on (SSO) using OIDC
This laboratory focuses on configuring Retool with Auth0 Single Sign-On (SSO) for user authentication using Auth0 as the Identity Provider and its support for OpenID Connect integration. Additional documentation is provided here.
Requirements
To configure SSO you will need:
- Retool Enterprise Cloud or Self-hosted
- Retool Enterprise Cloud or Self-hosted that has been configured with a resolvable domain and SSL/TLS certificate.
- Auth0 free-developer account
- Retool Administrator permission either via Admin permission group or Role.
Steps
Create a free developer account within Auth0 by going to: https://auth0.com/signup. Complete the signup information. This will then provide you with a free account to then complete the following steps and should appear as in the following figure.

Create Auth0 Application
- Within your Auth0 account, select Applications > Create Application.

- Select Regular Web Applications and specify a name,
retoolWeb1and then select Create.

- This will create an
Applicationand associatedClient Id,Client Secret, and other resources as shown in the following figure.

- Selecting the Advanced tab displays additional information for SSO integration purposes such as
AuthorizationandTokenURLs.

NOTE: These values will be required later to be able configure Retool SSO properly.
It is important to configure Auth0 with a callback URL on Retool. This value should correlate with the domain that a Retool Space is configured under. For example
https://<subdomain>.<your_domain>.com/oauth2sso/callback
Example: https://dev.example.com/oauth2sso/callback
- This is configured under Auth0 > Applications > Application URIs > Allowed Callback URLs as shown in the following figure:
