Authentication · Chapter 2 of 4
Ways to sign in
Passwords, magic links, Google, Apple. Pick a lane.
First decision: how do people get in? Four standard options, and most apps offer two of them:
Email & password
The classic. Familiar to everyone, works everywhere, nothing to explain.
Magic link
No password at all. They enter an email, click the link that arrives, done. Nothing to forget.
Google sign-in
One tap, no new credentials. The lowest-friction option for most audiences.
Apple sign-in
Same convenience, Apple flavor. Big with iOS users and the privacy-minded.
Behind whichever buttons you pick sits an auth service that does the dangerous parts. The two worth knowing are Supabase Auth and Firebase Auth. Both support every method above, both start free, and both are deeply familiar to coding agents. Which means adding login to your app really is a one-liner:
Your agent
Add authentication with Supabase: email-and-password plus Google sign-in. Build the login and signup pages to match my existing style, handle sessions, and send people to their dashboard after signing in.The agent builds the pages, wires the flow, manages sessions, and redirects people after they sign in. You choose the buttons; it does the cryptography.
