Supabasestojan,joel,kangmingtayAnnouncement
Supabase Auth: SSO, Mobile, and Server-side support
Summary
Supabase Auth announces SAML 2.0 Single Sign-On, PKCE support for server-side rendering and mobile authentication, and native Sign in with Apple on iOS. SSO lets users authenticate through a company identity provider, with dashboard configuration, Supabase CLI commands, a `signInWithSSO()` call, and PostgreSQL Row Level Security support using the provider identifier in a user JWT. PKCE addresses implicit-flow risks with a code verifier, code challenge, authorization code, and server-side exchange for a session, enabling same-domain cookies, protected server-rendered pages, and downstream actions after authentication. The release also allows an iOS Bundle ID to be configured for Apple provider access and supports `supabase.auth.signInWithApple()` in supabase-flutter without deep links or parameters. SSO is available on the Pro Plan and above and self-hosted, while server-side Auth using PKCE is now available on all projects.
Context
Enterprise customers commonly require Single Sign-On through their company identity provider, while URL fragments create problems for email verification on server-side routes and the implicit grant flow presents security concerns for mobile applications. Server-side authentication is also needed for same-domain cookies, protected server-rendered pages, and downstream actions after authentication.
Approach / What changed
Supabase Auth adds SAML 2.0 SSO with dashboard and CLI configuration, PKCE for authorization-code exchanges using a verifier and challenge, and native Sign in with Apple configured through an iOS Bundle ID. The JavaScript client and auth helpers support PKCE, while supabase-flutter exposes native Apple sign-in.
Takeaways
SAML 2.0 SSO can be configured through the dashboard and Supabase CLI, then initiated with `signInWithSSO()`; its provider identifier can also be used with PostgreSQL Row Level Security for multi-tenant access policies.
PKCE keeps the authorization code exchange tied to a randomly generated code verifier, so intercepting the code alone is insufficient to obtain the user session.
Native Sign in with Apple on iOS requires configuring the app's Bundle ID in the Apple provider settings; supabase-flutter can then call `signInWithApple()` without deep links or parameters.
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.