← Back to Self-Hosting
SSO Setup (SAML/OAuth)
Chart-Output uses Supabase for authentication. Enable SSO via Supabase's built-in OAuth and SAML support.
OAuth Providers
Supabase supports: Google, GitHub, Azure, Slack, Discord, Bitbucket, GitLab, Apple, Facebook, and more.
Setup Steps
- Go to Supabase Dashboard → Authentication → Providers
- Enable the desired provider and add Client ID/Secret
- Configure redirect URL in your IdP:
https://<project>.supabase.co/auth/v1/callback - Users sign in via "Sign in with Google" (or other) on the login page
SAML 2.0 (Enterprise)
For Okta, Azure AD, OneLogin, or other SAML IdPs:
- Supabase Dashboard → Authentication → Providers → SAML 2.0
- ACS URL:
https://<project>.supabase.co/auth/v1/sso/saml/acs - Create SAML app in your IdP, download metadata, upload to Supabase
- Map email and name attributes
Row Level Security
All Chart-Output tables use user_id = auth.uid(). SSO users only see their own API keys, templates, and brand kits.