Skip to content

triauth for OutlineOIDC

Let your team open your Outline wiki with one approval on their own device, and no Outline passwords.

  • Wiki and docs
  • Open source
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

  1. Open oidc.triauth.org and enter your domain. Paste Outline's redirect address, https://wiki.example.com/auth/oidc.callback with your own Outline address in place of wiki.example.com, and click Connect app. The bridge gives you a client ID and a client secret.

  2. Add the settings below to Outline's environment, for example in its docker.env file, and restart Outline. Replace example.com with your domain and the two placeholders with the client ID and the client secret from the bridge.

    ini
    OIDC_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=true
  3. Open 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

SettingValue
Redirect addresshttps://<your-outline>/auth/oidc.callback
Where in Outlinethe environment, such as docker.env
IssuerOIDC_ISSUER_URL takes https://oidc.triauth.org/<your domain>, and Outline reads the rest from the discovery document
Sign-outOIDC_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
Scopesopenid 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

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.