Files
supabase/apps/docs/content/guides/auth.mdx
Kody JacksonandClaude Sonnet 5.5 701730e3eb chore(kb,www,docs) - Add in relevant cross-links between the Supabase Component Library and kb,www,docs (#53237)
## Problem

After #53183 and #52567 have been addressed, we should strengthen the
interconnections between the UI library and the rest of the Supabase
ecosystem.

## Solution

- Adds contextual links for `/library`, Auth / Realtime category pages,
and specific Auth / Realtime components. Hits top-level product pages,
docs, kb, and blogs.

## Preview links

N/A, link changes are relatively atomic so easier to review without many
preview links.

---------

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-11 08:37:14 -06:00

42 lines
2.3 KiB
Plaintext

---
id: 'auth'
title: 'Auth'
description: 'Use Supabase to authenticate and authorize your users.'
subtitle: 'Use Supabase to authenticate and authorize your users.'
tocVideo: 'Ufx6fdRMxjU'
---
Supabase Auth makes it easy to implement authentication and authorization in your app. We provide client SDKs, API endpoints, and [pre-built web UI components](/library?category=Authentication) to help you create and manage users.
Your users can use many popular Auth methods, including [password](/docs/guides/auth/passwords), [magic link](/docs/guides/auth/auth-email-passwordless#with-magic-link), [one-time password (OTP)](/docs/guides/auth/auth-email-passwordless#with-otp), [social sign-in](/docs/guides/auth/social-sign-in), and [single sign-on (SSO)](/docs/guides/auth/enterprise-sso).
## About authentication and authorization
Authentication and authorization are the core responsibilities of any Auth system.
- **Authentication** means checking that a user is who they say they are.
- **Authorization** means checking what resources a user is allowed to access.
Supabase Auth uses [JSON Web Tokens (JWTs)](/docs/guides/auth/jwts) for authentication. For a complete reference of all JWT fields, see the [JWT Fields Reference](/docs/guides/auth/jwt-fields). Auth integrates with Supabase's database features, making it easy to use [Row Level Security (RLS)](/docs/guides/database/postgres/row-level-security) for authorization.
## The Supabase ecosystem
You can use Supabase Auth as a standalone product, but it's also built to integrate with the Supabase ecosystem.
Auth uses your project's Postgres database under the hood, storing user data and other Auth information in a special schema. You can connect this data to your own tables using triggers and foreign key references.
Auth also enables access control to your database's automatically generated [REST API](/docs/guides/api). When using Supabase SDKs, your data requests are automatically sent with the user's Auth Token. The Auth Token scopes database access on a row-by-row level when used along with [RLS policies](/docs/guides/database/postgres/row-level-security).
<ContentListings id="auth-get-started" />
<$Show if="authentication:show_providers">
<$Partial path="providers.mdx" />
</$Show>
<$Show if="billing:all">
<ContentListings id="auth-pricing" />
</$Show>
<ContentListings id="auth-next-steps" />