# Supabase Auth settings to check before you launch a Lovable or Bolt app

If your Lovable, Bolt or Cursor app signs people in with Supabase Auth, there's a short list of dashboard settings that decide whether strangers can flood your signups, take over accounts through a bad redirect, or log in with a password that's already in a breach list. None of them are in your code, so your AI builder won't change them unless you ask, and a code review won't catch them.

This is that list, from Supabase's own docs, with where to find each setting and how to test it with an account you own.

## 1. Email confirmation

Supabase says email confirmation is on by default for hosted projects and off by default for self-hosted projects and local development. If you exported a project or moved to self-hosting, check it. Without confirmation, anyone can sign up with an email address they don't own.

**Where:** Authentication → Providers → Email.

## 2. Site URL: replace localhost

Supabase's docs say the Site URL defaults to `http://localhost:3000` and tells you to change it to your production URL, calling this setting "critical for email confirmations and password resets." If it's still the default, confirmation and reset links can point to the wrong place.

**Where:** Authentication → URL Configuration.

## 3. The redirect URL allow list

After sign-in, Supabase redirects only to URLs on your allow list. Wildcards are supported for preview deployments on Vercel and Netlify, but Supabase's guidance is explicit: "While the 'globstar' (`**`) is useful for local development and preview URLs, we recommend setting the exact redirect URL path for your site URL in production."

Open the list and remove anything you don't recognize, any leftover `localhost` entries, and broad patterns you added for a preview and forgot.

## 4. Password rules and leaked-password protection

Supabase recommends a minimum length of at least 8 characters ("anything less than 8 characters is not recommended") and the strongest character requirements. It also offers leaked-password protection, which uses the open-source HaveIBeenPwned Pwned Passwords API to reject passwords known from breaches.

Two facts that matter:
- Supabase states leaked-password protection is available on the **Pro plan and above**. On the free plan you can't turn it on, so a warning about it may be one you can't clear without upgrading.
- Tightening the rules doesn't lock out existing users. Per the docs, they can still sign in, but if their password falls short they get a `WeakPasswordError` explaining why.

Lovable's automatic checks list "leaked-password protection disabled" as an example finding, so you may have seen it already.

**Where:** your project's Authentication settings, in the password section.

## 5. Require the current password to change it

Supabase can require users to supply their current password, or to reauthenticate with a nonce, before changing their password. Without it, anyone who briefly gets hold of an open session, like a shared computer, can set a new password and lock the owner out. By default, a user counts as recently logged in if the session was created in the last 24 hours.

## 6. CAPTCHA on sign-up, sign-in and reset

Supabase supports hCaptcha and Cloudflare Turnstile on sign-in, sign-up and password reset forms. Turn it on under Settings → Authentication → Bot and Abuse Protection → Enable CAPTCHA protection, enter the provider's secret key, and add the CAPTCHA component to your forms. Your frontend has to send the token. If you only flip the switch and your form doesn't, sign-ups will fail.

## 7. Anonymous sign-ins

If your app lets visitors in without an account, understand what that means. Supabase's docs say an anonymous user "assumes the authenticated role like a permanent user." So any RLS policy that says `to authenticated` also applies to anonymous users, unless it checks the `is_anonymous` claim in the JWT. Supabase's docs also note that because anonymous users are stored in your database, "bad actors can abuse the endpoint to increase your database size drastically," and "strongly recommended" invisible CAPTCHA or Turnstile. The default IP rate limit for anonymous sign-ins is 30 per hour.

Supabase's Security Advisor lists "auth allow anonymous sign ins" (0012) as an informational item, so you'll see it if you left them on.

**Check:** if you don't use anonymous sign-ins, turn them off. If you do, review every policy that targets `authenticated`.

## 8. Email sending and rate limits

Supabase's built-in email service is limited to **2 emails per hour**, and its docs say availability is "on a best-effort basis" and recommend configuring a custom SMTP server for production. If you launch on the default, confirmation and reset emails will fail once a few people sign up at once.

The documented default limits are:
- sign-ups and sign-ins: 30 requests per 5 minutes per IP address
- token endpoint (password, refresh): 150 requests per 5 minutes per IP address
- a new OTP, signup confirmation or reset request for the same user: a 60-second window

You can tune these in Authentication → Rate Limits. If your server sits in front of Supabase, the docs say you may need IP address forwarding so one server IP isn't treated as every user.

## 9. Multi-factor authentication for admin accounts

Supabase calls MFA a best practice, supported through an authenticator app (TOTP) or phone. At minimum, require it on any account that can reach admin screens, and turn on two-factor authentication on your Supabase, GitHub and hosting accounts too.

## A ten-minute test with a throwaway account

Only do this on your own app, with test accounts.
1. Sign up with an email you control and check that a confirmation email arrives and works.
2. Try a password like `12345678`. It should be rejected if rules are strict.
3. Click the confirmation and reset links and look at the address bar. They should point to your production domain.
4. Sign in as one test user and try to read another's data, using the two-account test: https://proofforge.live/two-account-test
5. Check the policies `to authenticated` against `is_anonymous` if anonymous sign-ins are on.

## What an outside scan does and doesn't see

Be clear about the limits. These are dashboard settings. An outside scan doesn't log in to your Supabase account, and it can't read your Auth configuration. What it does check is the damage a bad auth setup tends to travel with:
- a Supabase `service_role` or other secret key in your public JavaScript: https://proofforge.live/fix/service-role-key-exposed
- tables an anonymous visitor can read: https://proofforge.live/fix/supabase-rls-disabled
- exposed `.env` and source map files, and missing security headers

ProofForge's free scan runs those against your live URL with no login and shows your grade, every finding's severity and impact, and the top fix in full: https://proofforge.live. You can also check your tables by hand: https://proofforge.live/tools/supabase-rls-checker

## The $9 part

Auth settings are one-time clicks. The fixes your scan finds are different: they usually mean prompting your builder, and each round of "fix, check, it broke" spends credits. **$9 once** unlocks every finding with exact code fixes and prompts for your builder. **Fix + Guard ($29 once)** adds deploy-hook rescans for 30 days. There's a 14-day refund and no subscription: https://proofforge.live/pricing

*Sources, checked December 1, 2026:*
- *Supabase docs, "Password security," supabase.com/docs/guides/auth/password-security*
- *Supabase docs, "Password-based Auth," supabase.com/docs/guides/auth/passwords*
- *Supabase docs, "Redirect URLs," supabase.com/docs/guides/auth/redirect-urls*
- *Supabase docs, "Rate limits," supabase.com/docs/guides/auth/rate-limits*
- *Supabase docs, "Enable CAPTCHA protection," supabase.com/docs/guides/auth/auth-captcha*
- *Supabase docs, "Anonymous sign-ins," supabase.com/docs/guides/auth/auth-anonymous*
- *Supabase docs, "Multi-factor authentication," supabase.com/docs/guides/auth/auth-mfa*
- *Supabase docs, "Database Advisors," supabase.com/docs/guides/database/database-advisors*
- *Lovable docs, "Security overview," docs.lovable.dev/features/security*
- *ProofForge tiers, proofforge.live/pricing.json*
