mirror of
https://github.com/supabase/supabase.git
synced 2026-12-03 23:18:57 +00:00
## 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>
42 lines
2.3 KiB
Plaintext
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" />
|