triauth for GatusOIDC
Let your operations team open the Gatus status page with one approval on their own device, and no shared password.
- 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
Open oidc.triauth.org and enter your domain. Paste the redirect address,
https://status.example.com/authorization-code/callbackwith your own Gatus address in place ofstatus.example.com, and click Connect app. The bridge gives you a client ID and a client secret.Add the block below to Gatus's
config.yamland restart it. Replaceexample.comwith your domain,status.example.comwith your Gatus address, and the two placeholders with the client ID and the client secret from the bridge.yamlsecurity: 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]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-subjectsby 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-ttlchanges that.
For the person who connects the app
| Setting | Value |
|---|---|
| Redirect address | https://<your-gatus>/authorization-code/callback. Gatus insists on that ending |
| Where in Gatus | the security.oidc block of config.yaml |
| Issuer | issuer-url takes https://oidc.triauth.org/<your domain>, and the rest comes from the discovery document |
| Scopes | openid is enough. allowed-subjects compares the sub claim, which is the identifier, without regard to case |
| Login page | ui.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
- 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 the page to one team when you connect it.
- Read Gatus's OIDC section for every setting Gatus 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.