Short answer (tested 2026-12-01, free plan, Next.js 16.4.6, @supabase/ssr 0.12.7, supabase-js 2.120.0, Auth server GoTrue v2.199.0). Email+password sign-up and login worked, and verification mail reached our inbox in 1.5–3.4 s. Email *codes* do not work on the free plan: you get a magic link only. The free plan refuses email-template edits unless you bring your own SMTP. Without a template edit, the confirm route in Supabase's own guide is never called. The built-in mailer allows 2 emails per hour per project, and the third send fails:
over_email_send_rate_limit 429 email rate limit exceededSupabase has no per-account lockout. Ten wrong passwords and then the right one still signs in. The only brake is a per-IP limit that returned 429 on the 37th quick try and cleared about 8 s later.
| Check (free plan, 2026-12-01) | Result | |---|---| | Project via Management API (POST /v1/projects, us-east-1) | ACTIVE_HEALTHY within 9 s; Auth/REST/DB healthy | | Fresh create-next-app → first password login | 4 min 12 s (scaffold 16:30:01Z → login 16:34:13Z), through 3 doc problems (below) | | Official template create-next-app -e with-supabase | 57 s scaffold, builds, password login works; its email-confirm link also leaves the user signed out | | Verification / sign-in email to our inbox | 3.4 s, 1.5 s, 3.0 s after the click (n=3, spread over an hour by the cap) | | Email sends allowed | 2/hour/project, rolling: still 429 25 min later, free again 58 min after the 1st send; raising it needs custom SMTP (401) | | Email OTP code | Not possible on the free plan: default template has no {{ .Token }}, and edits are refused | | Bot wall on sign-up/login (agent-driven browser) | None by default; CAPTCHA (Turnstile/hCaptcha) can be turned on for free | | 10 wrong passwords, then the right one | All 10: invalid_credentials 400; the 11th (right) signs in. No lockout | | 40-try burst at /auth/v1/token from one IP | 429 over_request_rate_limit from try 37; the right password is blocked too, OK again ~8 s later | | User export | \copy auth.users in 2.1 s: 35 columns incl. bcrypt $2a$10$ hashes; no ticket | | Gated to Pro | leaked-password check, session timeouts, password-verification hook, phone MFA, custom domain (verbatim errors below) | | MAU counter | 0 / 50,000 at 3 and 34 min after the first logins; 1 / 50,000 after about 1 h (page: "may take up to 1 hour to refresh") |
Supabase free plan: email templates are locked, so there are no email codes
The passwordless guide says to change the magic-link template to {{ .Token }} to get a code. The passwords guide also requires a template edit first (PKCE "Step 1"). On a free project that uses the built-in mailer, the Management API refuses both:
HTTP 400 {"message":"Email template modification is not available for free tier projects using the default email provider. Please upgrade your plan or configure a custom SMTP provider: ...","error":{"code":"entitlement_required","feature":"auth.email_templates"}}The default sign-in email we received reads "Your sign-in link … Follow the link below to sign in", with no code. mailer_otp_length is 8, but no default template puts that code in the email. Supabase free plan options for a code login: bring your own SMTP (a sending domain with DNS records), or upgrade.
Supabase guide's `/auth/confirm` route never runs on the free plan (PKCE `?code=`)
The passwords guide has two steps for SSR. Step 1 puts a token_hash link in the email template. Step 2 adds app/auth/confirm/route.ts, which reads token_hash. Step 1 is blocked on the free plan, so the default {{ .ConfirmationURL }} link is sent instead. We followed it: Supabase confirmed the email and redirected to http://localhost:3001/?code=…. Our proxy then sent the browser to /login?code=…. The user was confirmed (email_confirmed_at set) but not signed in, and the guide's route was never hit. The fix that worked: handle code in the same route and point emailRedirectTo at it.
const code = searchParams.get('code')if (code) { const supabase = await createClient() const { error } = await supabase.auth.exchangeCodeForSession(code) if (!error) redirect(next)}With that change, the magic link signed the user in (amr: magiclink).
The official starter (npx create-next-app -e with-supabase) behaves the same way. Its sign-up sets emailRedirectTo to /protected, and its /auth/confirm also expects token_hash. Following the default email link left the user confirmed at /auth/login?code=… with zero rows in auth.sessions, so the user had to log in again with the password.
Supabase built-in mailer: 2 emails per hour, and the 3rd send is a 429
Every Supabase Auth email counts: sign-up confirmation, magic link and password reset. Our 3rd send within 3 minutes returned over_email_send_rate_limit 429 email rate limit exceeded. The window is a rolling hour. The sends went out at 16:32:43 and 16:34:35 UTC. A sign-up at 17:08 still failed, and one at 17:33:06 went through. The starter template shows the same thing as email rate limit exceeded. A sign-up that hits the cap creates no user row, so it is safe to retry. Raising the limit through the API fails:
HTTP 401 {"message":"Custom SMTP required to configure SMTP_SENDER_NAME or RATE_LIMIT_EMAIL_SENT. Missing SMTP_ADMIN_EMAIL, SMTP_HOST, SMTP_PORT, SMTP_USER, SMTP_PASS fields."}For an agent running end-to-end tests, two emails an hour means one sign-up plus one magic link. Plan tests around that. Supabase's "Testing auth flows" page, or custom SMTP, is the way out.
Delivery itself was fast. Supabase logged confirmation_sent_at 65 ms after creating the user. The mail (from pm-bounces.mail.app.supabase.io) reached our inbox 1.5 s later.
Supabase docs for Next.js: what an agent following them hits
1. The `.md` docs have no Next.js code. Supabase's pages carry a "Note for AI agents" pointing to llms.txt. The .md version of the SSR guide (/docs/guides/auth/server-side/nextjs.md) says "copy the lib utility functions", but client.ts, server.ts, proxy.ts and lib/supabase/proxy.ts are missing. Its code blocks cover Astro, Remix, Nuxt and others. The rendered HTML page has the code. 2. Wrong import path. The passwords guide's confirm route imports @/utils/supabase/server. The SSR guide puts the file in lib/supabase. Result: Module not found: Can't resolve '@/utils/supabase/server'. The route also redirects to /auth/auth-code-error, which no guide creates. 3. Next.js 16.4 `cacheComponents`. This one is a framework change, not a Supabase error. create-next-app 16.4.6 now writes cacheComponents: true. A page that calls the Supabase server client (cookies()) outside <Suspense> then fails next build with Route "/": Next.js encountered uncached or runtime data during prerendering. The Supabase guides don't mention it, but the with-supabase template's pages build.
The guides also include no login form for Next.js. We wrote the server actions (signUp, signInWithPassword, signInWithOtp, verifyOtp) ourselves; they are in repro/app-src/.
Supabase Auth brute force: no account lockout, only a per-IP bucket
Through the app, all ten wrong passwords returned invalid_credentials 400 Invalid login credentials, and the right one then signed in. A burst of 40 wrong passwords against /auth/v1/token from one IP went 400 ×36, then {"code":429,"error_code":"over_request_rate_limit","msg":"Request rate limit reached"}. The right password was also refused with 429, then worked about 8 s later. The free plan gates the hook that could add a lockout (HOOK_PASSWORD_VERIFICATION_ATTEMPT: "cannot be configured for this organization"), and the leaked-password check too.
Supabase Auth bot protection and agent-driven browsers
Sign-up and login through our agent-driven browser met no CAPTCHA or bot wall. CAPTCHA is off on new projects. Turning it on (Turnstile or hCaptcha) is allowed on the free plan. With it on and no widget in the app, login fails with captcha_failed 400 captcha protection: request disallowed (no captcha_token found).
What the Supabase free plan gates for production (verbatim API refusals)
- Leaked-password protection: "available on Pro Plans and up" (402)
- Session timebox / inactivity timeout: "User sessions can only be configured on Pro Plans and up." (402)
- Auth hooks (password verification attempt):
entitlement_required auth.hooks(402) - Phone MFA: "Organization is not entitled to the Advanced MFA - Phone addon." (400)
- Custom domain: "Custom domains require the Custom Domain add-on, available on the Pro plan and above." (400)
- Email templates and email rate limit: need custom SMTP (above)
- SAML SSO: the usage page lists "Monthly Active SSO Users: Unavailable in plan" (not tested further)
Allowed on free: CAPTCHA, password length/character rules, and TOTP MFA (enabled by default). No card was asked at any point. MAU limit shown: 50,000.
Supabase user export: full rows with bcrypt hashes, self-serve
Auth users live in your own Postgres (auth.users). \copy (select * from auth.users) through the pooler took 2.1 s. It gave 35 columns, including encrypted_password as 60-character bcrypt ($2a$10$), confirmation and recovery token hashes, metadata and timestamps. auth.identities exports the same way. No support ticket is needed, and the hashes import into anything that accepts bcrypt.
Method and environment
- Date: 2026-12-01, 16:28–17:37 UTC. Client: an Ubuntu 26.04 arm64 VM (node 22.22.1) on a Mac in India; project in AWS us-east-1. Mac load average was 19–23 (shared machine); no timing here is CPU-bound.
- Account: an existing free Supabase org (no card), separate from any production account. We didn't time the developer-account signup (the org already existed). The project was created and configured through the Management API with a personal access token, and deleted afterwards, so there is no day-2 MAU reading. The 4-minute figure is our pace after reading the docs; an agent that has to discover the fixes by trial will take longer.
- App A:
create-next-app@latest(16.4.6,--ts --app --no-tailwind), then the SSR guide and passwords guide verbatim, plus our own small login page. App B:npx create-next-app -e with-supabase, unchanged apart from.env.local. - Browser: an agent-driven headed Chromium. Our test inbox API returns text only, with links stripped. We therefore rebuilt each email's link from the project's own
auth.users.confirmation_token/auth.one_time_tokens.token_hash: the same/auth/v1/verify?token=pkce_…URL the default template sends. - Free plan only; paid tiers may differ. Evidence:
repro/logs/run.log,repro/logs/run-template.log,repro/logs/lockout-*.{json,txt},repro/api/*.json|txt,repro/inbox/*.json,repro/shots/,repro/docs/(docs as fetched),repro/app-src/.
Re-tested: 2026-12-01. Outdated if Supabase allows template edits on free projects, changes the built-in mailer cap, or fixes the .md docs.