Security & Best Practices

OAuth

What It Is

A system for logging in via another service (Google, GitHub)

Analogy

Using your driver's license to prove your age instead of showing your birth certificate

Try It Out

OAuth Login Flow

👤User
🌐Your App
🔐Google
Authorize
🎫Token
🏠Your App

User: Clicks "Sign in with Google"