Supabase SSO Demo

Login / Sign up
Dashboard (protected)

What this demo shows

This is a full-stack authentication demo using Supabase and SvelteKit 5. It supports both individual users and organizations, with automatic SSO redirection based on email domain. Supabase acts as the auth provider with SAML 2.0 connections to services like Google Workspace and Okta.

  • 🔐 SAML SSO via Google Workspace and Okta
  • 📧 Domain-based logic to detect if SSO should be used
  • ↪️ Redirect flow to SSO IdP for eligible users
  • 📝 Password-based sign-up for individual users

For detailed instructions, see the full README on GitHub.