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

  1. Create an Authentik app/provider and register the public /api/auth/callback/authentik redirect.
  2. Set AUTH_AUTHENTIK_CLIENT_ID, AUTH_AUTHENTIK_CLIENT_SECRET and AUTH_AUTHENTIK_ISSUER to the application issuer https://<authentik>/application/o/<slug>.
  3. 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.

Official documentation

Have Pilae connect your identity provider

Pilae can deploy Langfuse with your identity provider already connected. We agree the edition, account mapping and access tests with your team before rollout.