Self-Hosting
Identity Provider (Self-Hosted)
Configure authentication for self-hosted Kaiten deployments.
Identity Provider (Self-Hosted)
When self-hosting, you need to configure an Identity Provider for human user authentication.
Options
- Clerk (recommended) — see Clerk Setup Guide
- Any OIDC provider — see Identity Provider Guide
- Without auth (coming soon) — a mode for local development without an IdP
Self-Hosted Configuration
For self-hosted deployments, the key steps are:
- Set your IdP's JWKS URL in Traefik's JWT middleware configuration
- Set the
CLERK_SECRET_KEY(or equivalent) in your.env - Configure incoming webhooks from your IdP to sync organizations and users
- Ensure your frontend is configured with the IdP's publishable key
See the Authentication section for complete details.

