Langfuse SSO with Authentik (OIDC)
Use Langfuse’s dedicated Authentik provider for self-hosted login without conflating login with project grants.
Last updated
On this page (5)
Langfuse · Authentik · OIDC
Before you start
- Self-hosted Langfuse public NEXTAUTH_URL.
- Authentik application and confidential provider.
Configure sign-in
- Create an Authentik app/provider and register the public /api/auth/callback/authentik redirect.
- Set AUTH_AUTHENTIK_CLIENT_ID, AUTH_AUTHENTIK_CLIENT_SECRET and AUTH_AUTHENTIK_ISSUER to the application issuer https://<authentik>/application/o/<slug>.
- If using split DNS, use the documented authorization URL override only for browser redirects while keeping server-side issuer validation coherent.
Verify the result
- Test browser sign-in and verify discovery and token exchange from the Langfuse server.
- Check role and project membership for a newly signed-in account before disabling local authentication.
