website/integrations/monitoring/gatus/index.mdx
Gatus is a developer-oriented health dashboard that gives you the ability to monitor your services using HTTP, ICMP, TCP, and even DNS queries as well as evaluate the result of said queries by using a list of conditions on values like the status code, the response time, the certificate expiration, the body and many others. The icing on top is that each of these health checks can be paired with alerting via Slack, Teams, PagerDuty, Discord, Twilio and many more.
The following placeholders are used in this guide:
gatus.company is the FQDN of the Gatus installation.authentik.company is the FQDN of the authentik installation.:::info This documentation only lists the settings that have been changed from their default values. Please verify your changes carefully to avoid any issues accessing your application. :::
To support the integration of Gatus with authentik, you need to create an application/provider pair in authentik.
Strict redirect URI to https://gatus.company/authorization-code/callback.To enable OIDC in Gatus, update your config.yaml file, typically found at /config/config.yaml or the location specified by the GATUS_CONFIG_PATH environment variable. Additionally, set the following variables in your .env file. If your setup does not support environment variables, you can use hard-coded values, but this is not recommended for security reasons.
:::info Gatus automatically updates its configuration approximately every 30 seconds. If the changes are not reflected, restart the instance to ensure the changes are applied. :::
OIDC_CLIENT_ID=<Your Client ID from authentik>
OIDC_CLIENT_SECRET=<Your Client Secret from authentik>
security:
oidc:
issuer-url: "https://authentik.company/application/o/<application_slug>/"
client-id: "OIDC_CLIENT_ID"
client-secret: "OIDC_CLIENT_SECRET"
redirect-url: "https://gatus.company/authorization-code/callback"
scopes: ["openid"]
To confirm that authentik is properly configured with Gatus, click the Login with SSO button found on the main page of your Gatus installation. A successful login should redirect you to your status page.