Skip to content

triauth for GatusOIDC

Let your operations team open the Gatus status page with one approval on their own device, and no shared password.

  • Dashboards and monitoring
  • Open source
Sign-in through
OpenID Connect bridge
Available in
Every Gatus installation
Set up in
config.yaml

About Gatus

Gatus is a self-hosted status page. It checks websites, APIs, DNS, and other services on a schedule, shows whether they are up, and alerts when they are not. By default the page is public, and a security block puts a sign-in in front of it.

Connect Gatus to triauth

Gatus signs people in through the triauth OpenID Connect bridge. Once connected, the page shows Login with OIDC. People on your team click it, type their username, and approve on their own device. Nobody shares a status-page password, and when someone leaves, removing their identity records at your domain ends their access to the page as well.

How it works

  1. Open oidc.triauth.org and enter your domain. Paste the redirect address, https://status.example.com/authorization-code/callback with your own Gatus address in place of status.example.com, and click Connect app. The bridge gives you a client ID and a client secret.

  2. Add the block below to Gatus's config.yaml and restart it. Replace example.com with your domain, status.example.com with your Gatus address, and the two placeholders with the client ID and the client secret from the bridge.

    yaml
    security:
      oidc:
        issuer-url: https://oidc.triauth.org/example.com
        redirect-url: https://status.example.com/authorization-code/callback
        client-id: <client ID from the bridge>
        client-secret: <client secret from the bridge>
        scopes: [openid]
  3. Open the status page and click Login with OIDC.

Checkpoint

The status page shows Login with OIDC under its title. 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

  • Gatus keeps no accounts. Everyone with an identity at your domain can open the page, or only the people listed under allowed-subjects by their identifier. To let only one team in, limit the app to a group when you connect it.
  • The groups published at your domain are not read by Gatus.
  • A sign-in lasts eight hours by default, and session-ttl changes that.

For the person who connects the app

SettingValue
Redirect addresshttps://<your-gatus>/authorization-code/callback. Gatus insists on that ending
Where in Gatusthe security.oidc block of config.yaml
Issuerissuer-url takes https://oidc.triauth.org/<your domain>, and the rest comes from the discovery document
Scopesopenid is enough. allowed-subjects compares the sub claim, which is the identifier, without regard to case
Login pageui.header and ui.logo put your own title and logo on it

Gatus keeps the client secret, so leave This app can't keep a secret unticked when you connect it on the bridge. Gatus's OIDC section lists every key.

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.