Configuration
In your.env file, enable the OIDC auth type.
Required environment variables
Set the following variables for your provider:TRACECAT__PUBLIC_APP_URLOIDC_ISSUEROIDC_CLIENT_IDOIDC_CLIENT_SECRETOIDC_SCOPES(optional, defaults toopenid profile email)
Instructions
Create an OIDC application with your identity provider
Register Tracecat as an application with your provider and allow the standard
OpenID Connect scopes needed for sign-in.
Configure the redirect URI
Set the provider redirect URI to
<your-domain>/auth/oauth/callback.For the local Docker Compose deployment, use http://localhost/auth/oauth/callback.Configure environment variables in Tracecat
Add the public Tracecat URL, issuer URL, and client credentials to your
.env
file. Tracecat generates OAuth callback URLs from
TRACECAT__PUBLIC_APP_URL, so this must match the external URL users visit.Example: