triauth for RetoolOIDC
Let your staff open the internal tools built in Retool with one approval on their own device, and no Retool passwords.
- Sign-in through
- OpenID Connect bridge
- Available in
- The plan with custom single sign-on, cloud and self-hosted
- Set up in
- Settings › Single Sign-On (SSO)
About Retool
Retool is a low-code platform for internal business applications. Staff put tables, forms, and charts on a canvas, connect them to databases and APIs, and publish the result to colleagues. Companies use it for admin panels, support tools, and operations dashboards.
Connect Retool to triauth
Retool signs people in through the triauth OpenID Connect bridge, as its custom single sign-on. Once connected, people on your team are sent to the bridge from Retool's login page, type their username, and approve on their own device. Nobody keeps a Retool password, and when someone leaves, removing their identity records at your domain ends their access to every tool built in Retool.
How it works
Open oidc.triauth.org and enter your domain. Paste Retool's redirect address,
https://example.retool.com/oauth2sso/callbackwith your own Retool address in place ofexample.retool.com, and click Connect app. The bridge gives you a client ID and a client secret.In Retool, open Settings › Single Sign-On (SSO), choose OpenID Connect, and fill in the fields below with your domain in place of
example.com. Turn on Enable JIT user provisioning, click Test Connection, and save.Field Value Client ID and Client secret from the bridge Scopes openid email profile groups offline_accessAuth URL https://oidc.triauth.org/example.com/authorizeToken URL https://oidc.triauth.org/example.com/tokenEmail key idToken.emailRoles key and Role mapping idToken.groups, with mappings such asretool-admins@example.com -> adminSign out and sign in again from Retool's login page.
Checkpoint
Retool's login page sends the person to a page from the bridge that asks for the username, and their authenticator asks them to approve. Retool then opens with the permission groups from the mapping.
Good to know
- With provisioning on, everyone with an identity at your domain gets a Retool account the first time they sign in, within the seats your plan allows. To let only one team in, limit the app to a group when you connect it.
- The role mapping turns the groups published at your domain into Retool permission groups at every sign-in, and overwrites the groups it does not mention.
- Custom single sign-on is part of Retool's top plan, in the cloud and self-hosted.
For the person who connects the app
| Setting | Value |
|---|---|
| Redirect address | https://<your Retool domain>/oauth2sso/callback |
| Where in Retool | Settings › Single Sign-On (SSO) on the cloud and on self-hosted versions from 3.16, or the CUSTOM_OAUTH2_SSO_* environment variables on older ones |
| Addresses | Auth URL and Token URL go in by hand, since Retool does not read the discovery document. Fat token URL may point at https://oidc.triauth.org/<your domain>/userinfo, though the bridge's ID token already carries the email, name, and groups |
| Scopes | with offline_access, as Retool's example lists. Retool needs it for its own session. Without it, Retool signs people out as soon as the first token from the bridge expires, long before its own session limit. With it, Retool renews the sign-in through the bridge, usually every two hours, and a removed identity is signed out at the next renewal |
| Names | leave the first and last name keys unset. End session URL stays empty |
Retool keeps the client secret, so leave This app can't keep a secret unticked when you connect it on the bridge. Retool's OIDC guide explains every field, and the provisioning guide covers new accounts.
Next steps
- Read the OpenID Connect bridge page for what every connected app gets and what the bridge keeps private.
- Read Roll out to your team to give everyone in your organization an identifier at your domain.
- Read Groups to publish the groups that Retool maps to permission groups.
- Read Retool's OIDC guide for every setting Retool offers.
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.