Add auth with Supabase
Add sign-up, login and protected routes to an existing app.
Best tools for this
1 Supabase · Free $0/mo; Pro from $25/mo (billed monthly); Team from $599/mo; Enterprise custom
Hosted Postgres plus auth with email, magic links and OAuth out of the box.
2 Supabase MCP · Free, open source (Apache-2.0)
Lets your coding agent inspect tables and policies directly instead of guessing.
3 Cursor · Free $0/mo; Plus $8/mo; Premium $30/mo; Ultra $200/mo (monthly)
Codebase-aware edits make wiring auth across many files less error-prone.
Provisional editorial picks, not yet hands-on tested for this exact task.
Starter prompt
Add Supabase auth to this app: email + magic link sign-in, a protected /dashboard route, a sign-out button, and row-level security so users only read their own rows. Explain every env var I need and don't hardcode keys.