
# 

Auth

## 

Use Supabase to authenticate and authorize your users.

* * *

Supabase Auth makes it easy to implement authentication and authorization in your app. We provide client SDKs and API endpoints to help you create and manage users.

Your users can use many popular Auth methods, including password, magic link, one-time password (OTP), social login, and single sign-on (SSO).

## About authentication and authorization[#](#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)](jwts/index.md) for authentication. For a complete reference of all JWT fields, see the [JWT Fields Reference](jwt-fields/index.md). Auth integrates with Supabase's database features, making it easy to use [Row Level Security (RLS)](../database/postgres/row-level-security/index.md) for authorization.

## The Supabase ecosystem[#](#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](../api/index.md). 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](../database/postgres/row-level-security/index.md).

## Providers[#](#providers)

Supabase Auth works with many popular Auth methods, including Social and Phone Auth using third-party providers. See the following sections for a list of supported third-party providers.

### Social Auth[#](#social-auth)

[

![Apple Icon](/docs/img/icons/apple-icon.svg)

##### Apple

](/docs/guides/auth/social-login/auth-apple)[

![Azure (Microsoft) Icon](/docs/img/icons/microsoft-icon.svg)

##### Azure (Microsoft)

](/docs/guides/auth/social-login/auth-azure)[

![Bitbucket Icon](/docs/img/icons/bitbucket-icon.svg)

##### Bitbucket

](/docs/guides/auth/social-login/auth-bitbucket)[

![Discord Icon](/docs/img/icons/discord-icon.svg)

##### Discord

](/docs/guides/auth/social-login/auth-discord)[

![Facebook Icon](/docs/img/icons/facebook-icon.svg)

##### Facebook

](/docs/guides/auth/social-login/auth-facebook)[

![Figma Icon](/docs/img/icons/figma-icon.svg)

##### Figma

](/docs/guides/auth/social-login/auth-figma)[

![GitHub Icon](/docs/img/icons/github-icon-light.svg)

##### GitHub

](/docs/guides/auth/social-login/auth-github)[

![GitLab Icon](/docs/img/icons/gitlab-icon.svg)

##### GitLab

](/docs/guides/auth/social-login/auth-gitlab)[

![Google Icon](/docs/img/icons/google-icon.svg)

##### Google

](/docs/guides/auth/social-login/auth-google)[

![Kakao Icon](/docs/img/icons/kakao-icon.svg)

##### Kakao

](/docs/guides/auth/social-login/auth-kakao)[

![Keycloak Icon](/docs/img/icons/keycloak-icon.svg)

##### Keycloak

](/docs/guides/auth/social-login/auth-keycloak)[

![LinkedIn Icon](/docs/img/icons/linkedin-icon.svg)

##### LinkedIn

](/docs/guides/auth/social-login/auth-linkedin)[

![Notion Icon](/docs/img/icons/notion-icon.svg)

##### Notion

](/docs/guides/auth/social-login/auth-notion)[

![Slack Icon](/docs/img/icons/slack-icon.svg)

##### Slack

](/docs/guides/auth/social-login/auth-slack)[

![Spotify Icon](/docs/img/icons/spotify-icon.svg)

##### Spotify

](/docs/guides/auth/social-login/auth-spotify)[

![Twitter Icon](/docs/img/icons/twitter-icon-light.svg)

##### Twitter

](/docs/guides/auth/social-login/auth-twitter)[

![Twitch Icon](/docs/img/icons/twitch-icon.svg)

##### Twitch

](/docs/guides/auth/social-login/auth-twitch)[

![WorkOS Icon](/docs/img/icons/workos-icon.svg)

##### WorkOS

](/docs/guides/auth/social-login/auth-workos)[

![Zoom Icon](/docs/img/icons/zoom-icon.svg)

##### Zoom

](/docs/guides/auth/social-login/auth-zoom)

You can also add any OAuth2 or OIDC-compatible identity provider using [Custom OAuth/OIDC Providers](custom-oauth-providers/index.md).

### Phone Auth[#](#phone-auth)

[

![MessageBird Icon](/docs/img/icons/messagebird-icon.svg)

##### MessageBird

](/docs/guides/auth/phone-login?showSmsProvider=MessageBird)[

![Twilio Icon](/docs/img/icons/twilio-icon.svg)

##### Twilio

](/docs/guides/auth/phone-login?showSmsProvider=Twilio)[

![Vonage Icon](/docs/img/icons/vonage-icon-light.svg)

##### Vonage

](/docs/guides/auth/phone-login?showSmsProvider=Vonage)

## Pricing[#](#pricing)

Charges apply to Monthly Active Users (MAU), Monthly Active Third-Party Users (Third-Party MAU), and Monthly Active SSO Users (SSO MAU) and Advanced MFA Add-ons. For a detailed breakdown of how these charges are calculated, refer to the following pages:

*   [Pricing MAU](../platform/manage-your-usage/monthly-active-users/index.md)
*   [Pricing Third-Party MAU](/docs/guides/platform/manage-your-usage/monthly-active-users-third-party)
*   [Pricing SSO MAU](../platform/manage-your-usage/monthly-active-users-sso/index.md)
*   [Advanced MFA - Phone](../platform/manage-your-usage/advanced-mfa-phone/index.md)
