Skip to main content
Explore authentication examples covering email/password, OAuth, magic links, multi-factor authentication, and more.

Email/Password Authentication

Basic Sign Up and Sign In

Password Reset

OAuth Authentication

Sign in with OAuth Providers

OAuth Callback Handler (Next.js)

Passwordless Sign In

Multi-Factor Authentication (MFA)

TOTP (Time-based One-Time Password)

Phone Authentication

Session Management

User Metadata

Server-Side Authentication (Next.js)

Server Component

Server Action

React Hook Examples

Full Example Apps

Next.js Auth Example

Complete Next.js authentication example

Flutter MFA Example

Flutter app with multi-factor authentication

React Auth Example

React authentication patterns

Expo Social Auth

React Native with social providers

Next Steps

Auth Documentation

Learn more about authentication

User Management Tutorial

Build user profiles

Row Level Security

Secure your data

Database Examples

Explore database patterns