Langfuse SSO with Microsoft Entra ID (OIDC)

Use Langfuse’s built-in Azure AD provider with a tenant-specific Entra app registration.

Last updated

On this page (5)

Langfuse · Microsoft Entra ID · OIDC

Before you start

  • Self-hosted Langfuse with correct NEXTAUTH_URL.
  • Entra registration and client secret value.

Configure sign-in

  1. Create an Entra Web registration and add the public /api/auth/callback/azure-ad redirect.
  2. Set AUTH_AZURE_AD_CLIENT_ID, AUTH_AZURE_AD_CLIENT_SECRET and AUTH_AZURE_AD_TENANT_ID on Langfuse and restart.
  3. Keep account linking disabled unless verified email ownership and migration behavior have been reviewed.

Verify the result

  • Test pilot sign-in and a wrong-tenant or denied account.
  • Confirm organization/project membership independently before disabling password sign-in.

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.