Files
supabase/apps/www/content/md/auth.md
Alexis Aguilar 831d6302c7 chore: use social sign-in on the marketing site, Dashboard, UI library, and KB (#52109)
## Problem


[supabase/supabase#52102](https://github.com/supabase/supabase/pull/52102)
renames *social login* to *social sign-in* in the docs, so every sign-in
method follows the same pattern: social sign-in, phone sign-in,
anonymous sign-in, and passwordless email sign-in. The marketing site,
the Dashboard, the UI library docs, the knowledge base, and the Docker
configuration still say "social login". Keeping one name per feature
across every surface matters: readers and AI agents moving between the
Dashboard, the docs, and the marketing site see the same term, and
search finds one name.

Part of [DOCS-1459](https://linear.app/supabase/issue/DOCS-1459).

## Solution

"Social login" is "social sign-in" in visible text on:

- **Marketing site:** the Auth product page, including an icon grid's
`aria-label`, the home page's frameworks section, the social sign-in
feature page's title, subtitle, and description, the Markdown versions
of the Auth and home pages, and the Supabase vs Firebase comparison.
- **Dashboard:** the command menu entry for Auth providers, "Auth:
Providers (Social Sign-in, SSO)".
- **UI library docs:** the link to the docs on six social auth block
pages, and one sentence on the React Router page.
- **Knowledge base:** the link text in the Auth0 migration guide.
- **Docker configuration:** the comments in `docker-compose.yml` and
`.env.example`.

Intentionally unchanged:

- **URLs, code names, and file names:** `/features/social-login`, links
to `/docs/guides/auth/social-login/...`, `handleSocialLogin` in the UI
library blocks, and image files such as `social-login.png`. A separate
PR moves the URLs to `social-sign-in` with redirects.
- **Dated and quoted content:** blog posts, an event page, a customer
story, and a quoted user tweet.

## Review notes

- **Dashboard search:** the command menu's `value` is also its search
text, so typing "social login" no longer matches the Auth providers
entry. "Social", "providers", and "SSO" still match.
- **UI library block names:** the blocks are named `social-auth` (for
example, `social-auth-nextjs`), and the name is part of their install
commands. Renaming a block breaks those commands, so that's a decision
for the UI library's owners.

## Preview links

- [Auth product
page](https://zone-www-dot-com-git-alexisa-docs-1459-surfaces-supabase.vercel.app/auth)
- [Home
page](https://zone-www-dot-com-git-alexisa-docs-1459-surfaces-supabase.vercel.app/)
- [Social sign-in feature
page](https://zone-www-dot-com-git-alexisa-docs-1459-surfaces-supabase.vercel.app/features/social-login)
- [Supabase vs
Firebase](https://zone-www-dot-com-git-alexisa-docs-1459-surfaces-supabase.vercel.app/alternatives/supabase-vs-firebase)
- [UI library: Social auth
(Next.js)](https://ui-library-git-alexisa-docs-1459-surfaces-supabase.vercel.app/ui/docs/nextjs/social-auth)
- [Knowledge base: Migrate from
Auth0](https://kb-git-alexisa-docs-1459-surfaces-supabase.vercel.app/kb/guides/migrate-from-auth0)
2026-10-22 17:31:04 +00:00

2.3 KiB

Supabase Auth

Built-in authentication, authorization, and user management for every Supabase project.

Supabase Auth provides a complete user management system without any external authentication service. It is deeply integrated with Postgres Row Level Security for fine-grained access control, so you can write authorization policies in SQL rather than application code.

Key Features

  • Social sign-in: 20+ providers out of the box (Google, GitHub, Apple, Azure/Microsoft, Facebook, Twitter, Discord, GitLab, and more), enabled with one click
  • Email/password: built-in email signup with confirmation, password reset, and email change flows
  • Phone/OTP: SMS-based authentication with one-time passwords
  • Magic links: passwordless email authentication
  • Row Level Security: authorization policies written in SQL, evaluated at the database level, no middleware needed
  • JWT-based sessions: standard JSON Web Tokens, compatible with any JWT library
  • User management dashboard: view, create, edit, and delete users from the Supabase Dashboard
  • Enterprise SSO: SAML 2.0 support for enterprise single sign-on
  • Multi-factor authentication: TOTP-based MFA for additional account security
  • Custom OAuth scopes: request additional permissions when using social sign-in providers
  • Server-side auth: helpers for Next.js, SvelteKit, Remix, and other server frameworks
  • Auth hooks: customize authentication flows with database functions or Edge Functions

Technical Details

  • Protocol: OAuth 2.0, OIDC, SAML 2.0
  • Token format: JWT (access token + refresh token)
  • Storage: user data stored in your project's Postgres database (auth schema), not with a third party
  • Available in 16+ global regions

How It Works

  1. Users authenticate via social provider, email/password, phone, or magic link
  2. Supabase Auth issues a JWT containing the user's ID and metadata
  3. The JWT is sent with every request to your Supabase project
  4. Postgres Row Level Security policies reference the JWT to determine what data the user can access
  5. No middleware or application-level authorization code needed