Skip to content

Passwords, email codes or Google: which sign-in should I offer?

Email codes plus Google suit most products. Codes need no password to remember, and Google suits people who already have a Google account. Offer passwords too if your audience expects them.

Find your situation

If your product uses Supabase
Email sign-in is on by default, and codes, links and passwords all send email. The built-in sender only reaches your Supabase team, 2 emails an hour. Connect a service like Resend under Custom SMTP before real people sign up. It then starts at 30 emails an hour, which you can raise under Rate Limits.
If your product uses Firebase’s free Spark plan
Firebase sends the emails itself. Each day it allows 1,000 address checks, 150 password resets and only 5 sign-in link emails. Passwords plus Google avoid the small free email-link quota.
If your product uses Clerk’s free plan
Passwords, email codes and email links are included, and Clerk checks passwords against lists of leaked passwords. You get up to 3 social logins, like Google. Text-message codes, passkeys and two-step sign-in need a paid plan.
If many of your users sign in with a work email
Company email scanners can open links before the person does, so a sign-in link shows as expired. Six-digit codes avoid this, because the person types the code. On Supabase, put the code in the Magic Link email template.
If you want to offer only Google
People without a Google account can’t sign in, so add an email option too. Test sign-in on your phone, including links opened inside other apps.
If you offer passwords
Require at least 8 characters, since Supabase doesn’t recommend fewer. Blocking leaked passwords needs Supabase’s Pro plan, while Clerk does it on every plan. Add a Forgot password page too. It sends email, like everything else.
If a code or link doesn’t work
Supabase’s magic links expire after 1 hour by default, and people can request one every 60 seconds. Check the spam folder and use the newest email.

Who does what

You

  • Turn on the ways in you picked, in Supabase, Firebase or Clerk.
  • On Supabase, set up an email service and its sending domain before real people sign up.
  • Sign up with every method, including from a work email and on your phone.

Your AI tool

  • Build the sign-up and sign-in screens for the methods you picked, with clear messages for wrong or expired codes.
  • Write a Supabase email template that sends a six-digit code instead of a link, for you to paste in.
  • Add a Forgot password page if you offer passwords.
  • Walk you through connecting an email service like Resend to Supabase’s Custom SMTP settings.
Hand this to your AI tool
Help me choose how people sign in to my app.
First ask me which sign-in service I use (like Supabase, Firebase or Clerk), who my users are, and whether many of them will sign in with a work email or on their phone.
Check the service’s current official docs. Then explain email codes, email links, passwords and Google in plain words, with the limits and costs on my plan. Explain who each method suits, and wait for my choice.

This comes from https://buildladder.com/answers/sign-in-methods. If you can open web pages, read https://buildladder.com/answers/sign-in-methods.md for the current version. BuildLadder guide, tool, concept, answer and setup pages all work this way: add .md to the address.

Ask me before you install anything, sign in to anything or spend money. Never ask me to paste a password or secret key into this chat.

Where to go next

Updated Sources: Supabase: Passwordless email sign-in, Supabase: Send emails with custom SMTP, Supabase: Password security, Supabase: Expired email links, Firebase: Authentication limits, Clerk pricing, Clerk: Add Google as a social connection.