import ApiExamples from 'data/products/auth/auth-api-examples' import AuthSqlRulesExamples from 'data/products/auth/auth-sql-rules-examples' import { ArrowUpRight, Briefcase, Eye, Link as IconLink, Shield } from 'lucide-react' import { NextSeo } from 'next-seo' import dynamic from 'next/dynamic' import NextImage from 'next/image' import Link from 'next/link' import { useRouter } from 'next/router' import { Button, Image } from 'ui' import { useBreakpoint } from 'common' import DefaultLayout from '~/components/Layouts/Default' import SectionContainer from '~/components/Layouts/SectionContainer' import ProductsNav from '~/components/Products/ProductsNav' import ProductHeader from '~/components/Sections/ProductHeader' import EventCallout from '~/components/EventCallout' import Solutions from 'data/Solutions' import { PRODUCT_NAMES } from 'shared-data/products' import AuthProviders from '~/data/auth.json' const SplitCodeBlockCarousel = dynamic( () => import('~/components/Carousels/SplitCodeBlockCarousel') ) const CTABanner = dynamic(() => import('~/components/CTABanner')) const FeatureColumn = dynamic(() => import('~/components/FeatureColumn')) const APISection = dynamic(() => import('~/components/Sections/APISection')) const GithubExamples = dynamic(() => import('~/components/Sections/GithubExamples')) function AuthPage() { const isMobile = useBreakpoint(768) const { basePath } = useRouter() const meta_title = 'Auth | Built-in user management' const meta_description = 'Authentication that you can afford that is built in to your supabase project.' return ( <> } icon={Solutions['authentication'].icon} title={Solutions['authentication'].name} h1={[ Open Source Auth
(with tons of integrations)
, ]} subheader={[ 'Every Supabase project comes with a complete User Management system that works without any additional tools.', "Including PostgreSQL's policy engine, for fine-grained access rules.", ]} image={[ auth header, ]} documentation_url={'/docs/guides/auth'} />
{AuthProviders.map((auth, i) => { return (
) })}

All the social providers

Enable social logins with the click of a button. Google, Facebook, GitHub, Azure (Microsoft), Gitlab, Twitter, Discord, and many more.

Fully integrated

Incredibly simple Auth, without a single external authentication service. Built-in Authentication, Authorization, and User Management.

Own your data

User data stored in your Supabase database so you never have to worry about 3rd party privacy issues. Host your data in 16 different locations.

APIs that you can understand. With powerful libraries that work on client and server-side applications.

, ]} footer={[
} title="Enterprise logins" text="Support for SAML, Azure. More enterprise providers and SSO coming soon." />
} title="Social login scopes" text="Request additional user data permissions when using social logins." />
, ]} documentation_link={'/docs/guides/auth'} />

User permissions without the middleware

Supabase Auth works without any additional servers. Build Authorization rules with Postgres' Row Level Security, controlling who can create, edit and delete specific rows in your database.

Policies can be written in SQL or using the dashboard online.

) } export default AuthPage