OAuth
"Login with Google" — letting another service verify your identity.
What is OAuth?
OAuth lets users log in with existing accounts (Google, GitHub, Apple) instead of creating a new password. The other service vouches for them. Supabase supports OAuth out of the box.
Users prefer OAuth because they don't need to remember another password. You benefit because you don't have to handle password security yourself.
In Vibe Coding
In Supabase, enabling OAuth takes a few clicks — go to Authentication, Providers, and enable Google. You'll need to set up a Google Cloud project for the credentials, but Supabase handles the actual OAuth flow.
Example
For example: A user clicks "Login with Google" on your app. They see Google's login screen, approve your app, and are redirected back — now logged in. Your app never sees their Google password.