triauth for OutlineOIDC
Let your team open your Outline wiki with one approval on their own device, and no Outline passwords.
- Sign-in through
- OpenID Connect bridge
- Available in
- Every self-hosted Outline
- Set up in
- Environment variables
About Outline
Outline is a team knowledge base. People write and organize documents in collections, edit together in real time, and search across everything. Teams use it for handbooks, internal documentation, onboarding notes, and meeting notes.
Connect Outline to triauth
Outline signs people in through the triauth OpenID Connect bridge. Once connected, Outline'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 an Outline password, and when someone leaves, removing their identity records at your domain ends their access to Outline as well.
This page is about an Outline that you run yourself.
How it works
Open oidc.triauth.org and enter your domain. Paste Outline's redirect address,
https://wiki.example.com/auth/oidc.callbackwith your own Outline address in place ofwiki.example.com, and click Connect app. The bridge gives you a client ID and a client secret.Add the settings below to Outline's environment, for example in its
docker.envfile, and restart Outline. Replaceexample.comwith your domain and the two placeholders with the client ID and the client secret from the bridge.iniOIDC_CLIENT_ID=<client ID from the bridge> OIDC_CLIENT_SECRET=<client secret from the bridge> OIDC_ISSUER_URL=https://oidc.triauth.org/example.com OIDC_DISPLAY_NAME=example.com OIDC_DISABLE_REDIRECT=trueOpen Outline's sign-in page and click the button with your domain's name.
Checkpoint
Outline'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 an Outline account the first time they sign in. To let only one team in, limit the app to a group when you connect it, or turn on Require invites in Outline's security settings.
- Outline's groups are managed in Outline. The groups published at your domain do not fill them.
- Signing out of Outline ends the Outline session. The next sign-in takes one approval.
For the person who connects the app
| Setting | Value |
|---|---|
| Redirect address | https://<your-outline>/auth/oidc.callback |
| Where in Outline | the environment, such as docker.env |
| Issuer | OIDC_ISSUER_URL takes https://oidc.triauth.org/<your domain>, and Outline reads the rest from the discovery document |
| Sign-out | OIDC_DISABLE_REDIRECT=true, since the bridge has no logout endpoint. Without it, the sign-in page sends people straight back to the bridge after they sign out |
| Scopes | openid profile email by default, which is all Outline needs |
Outline keeps the client secret, so leave This app can't keep a secret unticked when you connect it on the bridge. Outline's OIDC guide explains 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 Outline to one team when you connect it.
- Read Outline's OIDC guide for every setting Outline 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.