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.
Comments
Similar requests
OIDC identity tokens for Edge Functions (workload identity federation)
1 vote · 0 comments
Support custom OAuth parameters or configurable auth URL from frontend
1 vote · 0 comments
Support `private_key_jwt` client authentication for custom OIDC providers
0 votes · 0 comments
Be able to store phone number without SMS provider
2 votes · 0 comments
Feature request: Support pg_orca (Cascades-style query optimizer) as an alternative PostgreSQL optimizer
1 vote · 0 comments
No comments yet.