FeatureFuel
1

Auth: support Entra workload identity federation (client assertion from a file) for the Azure provider

Source: supabase/supabase#54617 · opened by @its-ammu
Problem The built-in Azure provider can only authenticate the code exchange with a client secret (GOTRUE_EXTERNAL_AZURE_SECRET). Teams running GoTrue on Kubernetes (AKS, EKS, GKE) increasingly use [Entra workload identity federation]( instead. The Entra app trusts the cluster's service account issuer, and the pod sends a short-lived projected token as client_assertion. No secret has to be stored or rotated. Why the recent private_key_jwt support doesn't cover it Related: #50814 (private_key_jwt for custom OIDC providers). supabase/auth#2932–#2936 added private_key_jwt, which: • only applies to custom OIDC providers, not the built-in Azure provider. Moving to a custom provider would change existing users' identities. • always has GoTrue sign the assertion with a key it holds (GOTRUE_EXPERIMENTAL_CLIENT_ASSERTION_KEYS). Federated credentials need a token issued by the platform's OIDC issuer, so there's still a private key to manage. …

No pledges yet. Be the first to back this.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests