Supabasecemal_kilicAnnouncement
Custom OIDC Providers for Supabase Auth
Summary
Supabase has launched Custom OIDC Providers, enabling projects to connect standards-compliant external OpenID Connect identity providers beyond its built-in social options. Configuration requires an issuer URL, client credentials, and scopes; Supabase automatically resolves the discovery document, endpoints, and JWKS, and verifies ID tokens against the provider’s JWKS. After enablement, users use the standard OAuth sign-in flow through existing JavaScript, Flutter, or Swift clients, while the auth server handles redirects, code exchange, profile retrieval, and user creation or linking. Custom providers include default PKCE, authorization-parameter support, multi-platform audience validation through acceptable_client_ids, and an email_optional setting for providers that do not return email addresses. They can be created, listed, updated, or deleted via the Dashboard or Admin API, with a limit of three per project.
Context
Built-in providers cover common identity systems but do not include every provider, including regional compliance providers, self-hosted services, and niche or industry-specific identity platforms.
Approach / What changed
Supabase added configurable custom OIDC providers managed through the Dashboard or Auth Admin API. Projects supply an issuer, credentials, and scopes; the auth server discovers provider metadata, performs the OAuth flow, validates ID tokens, and exposes the provider through existing client sign-in methods.
Takeaways
The issuer's /.well-known/openid-configuration document, endpoints, and JWKS are resolved automatically, while ID tokens are verified against the provider's JWKS.
PKCE is enabled by default for every custom provider, with the auth server generating the code challenge and verifier during authorization.
Projects can configure acceptable_client_ids for multi-platform audience validation and email_optional for providers that do not return email addresses.
Source and freshness
- Source
- supabase.com
- Published
- Added to Yomu
- Last updated
Summaries are generated from the original by a language model. Check the original before relying on it.
Keep reading
Related reading
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
The best engineering reads, once a week
One useful email. Unsubscribe anytime.