triauth for DocumensoOIDC
Let your team open Documenso with one approval on their own device, and no Documenso passwords.
- Sign-in through
- OpenID Connect bridge
- Available in
- Every self-hosted Documenso
- Set up in
- Environment variables
About Documenso
Documenso is a tool for sending documents out for electronic signature and signing them, an open-source alternative to DocuSign. Teams use it to get contracts, offers, and forms signed online and to see who has signed.
Connect Documenso to triauth
Documenso signs people in through the triauth OpenID Connect bridge. Once connected, Documenso's sign-in page shows a button with your domain's name. People on your team click it, type their username, and approve on their own device. Nobody keeps a Documenso password, and when someone leaves, removing their identity records at your domain ends their access to Documenso as well.
How it works
Open oidc.triauth.org and enter your domain. Paste Documenso's redirect address,
https://sign.example.com/api/auth/callback/oidcwith your own Documenso address in place ofsign.example.com, and click Connect app. The bridge gives you a client ID and a client secret.Add the settings below to Documenso's environment, for example in its
.envfile, and restart it. Replaceexample.comwith your domain and the two placeholders with the client ID and the client secret from the bridge.iniNEXT_PRIVATE_OIDC_WELL_KNOWN=https://oidc.triauth.org/example.com/.well-known/openid-configuration NEXT_PRIVATE_OIDC_CLIENT_ID=<client ID from the bridge> NEXT_PRIVATE_OIDC_CLIENT_SECRET=<client secret from the bridge> NEXT_PRIVATE_OIDC_PROVIDER_LABEL=example.com NEXT_PRIVATE_OIDC_PROMPT=Open Documenso's sign-in page and click the button with your domain's name.
Checkpoint
Documenso's sign-in page shows a new button with your domain's name. Choosing it opens a page from the bridge that asks for the username, and the person's authenticator asks them to approve.
Good to know
- Everyone with an identity at your domain gets a Documenso account the first time they sign in, and people who already have an account under the same email address are connected to it. To let only one team in, limit the app to a group when you connect it.
- Organization roles in Documenso are managed in Documenso.
- This page covers the sign-in for your whole Documenso. The separate single sign-on portal per organization is part of Documenso's Enterprise edition.
For the person who connects the app
| Setting | Value |
|---|---|
| Redirect address | https://<your-documenso>/api/auth/callback/oidc |
| Where in Documenso | the environment, such as the .env file or the environment block of compose.yml |
| Discovery URL | NEXT_PRIVATE_OIDC_WELL_KNOWN takes the full address, https://oidc.triauth.org/<your domain>/.well-known/openid-configuration |
| Prompt | NEXT_PRIVATE_OIDC_PROMPT left empty, so that Documenso does not ask the bridge to force a fresh login every time |
| New accounts | NEXT_PUBLIC_DISABLE_OIDC_SIGNUP=true stops new accounts, once everyone is in |
Documenso keeps the client secret, so leave This app can't keep a secret unticked when you connect it on the bridge. Documenso's environment reference lists every variable.
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 limit Documenso to one team when you connect it.
- Read Documenso's environment reference for every setting Documenso 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.
