By platform

Supabase confirm email localhost: fixes

The confirmation email arrives and the button inside points at your laptop. Simulated visitors sign up on your live site, each with a real inbox, and open the link a stranger would.

5 visitors try to .
First test free with an accountRun it from your coding agent

Why does my Supabase confirmation email link to localhost?

The link in a Supabase confirmation email is built from the project's Site URL, and a new project starts with a local address there. Change the Site URL in the project's auth settings to your live address, and add that address to the redirect allow list. Then check that your signup code does not pass a localhost address of its own. A simulated test signs up on the live site, opens the email in a real inbox and reports where the link went.

What this looks like in a report

Who
Ilse, who found a recipe planner through a blog post
How they arrived
Clicked a link in a blog post
Where they stopped
Confirmation email, after pressing the confirm button

“I signed up, got the email, pressed the button and my browser said the site refused to connect. I tried twice. I assume the app is half built, so I will not come back.”

The fix. Set the project's Site URL to the live address, add it to the redirect allow list, and remove any hard coded local address from the signup call. Then sign up again with a new address and open the email on a phone.

An illustration. Run a test to see your own.See a real sample report

The email is fine and the link inside is for your machine

The visitor does everything right. They sign up, the email arrives within a minute, they press Confirm, and their browser says it cannot connect, because the address belongs to a computer that is not theirs. They cannot know this is your setup. They think the product is broken. It works for you because your laptop answers on that address, so you clicked it during development and saw your app. The person most likely to hit this is the first real stranger, on launch day.

  • Open the newest confirmation email on your phone. Does the link start with your live address?
  • Look at the project's Site URL in the auth settings. Is it still a local address?
  • Check the redirect allow list. Is your live address on it, with and without www?
  • Search your signup code for a redirect address passed with the signup call. Is it hard coded?
  • Check a custom email template. Does it build the link from the Site URL or from a fixed address?

Three places a local address hides

The first is the Site URL setting, which is the default base for links in auth emails. The second is the redirect address your own code passes when it calls signup. If that comes from an environment value that was never set on the live host, the build falls back to the local one. The third is a custom email template that has a fixed address typed into it. Check them in that order, because the first is the usual cause and the other two only matter once the first is fixed.

How to tell a wrong setting from a stale email

Old emails keep the address they were built with. If you fix the setting and then press the link in a message sent before the fix, it still points at localhost, and you will think nothing changed. Always sign up with a fresh address after each change. A second tell: if the link opens your live site but lands on an error page, the address is right and the redirect allow list is the problem. If the browser cannot connect at all, the base address is still local.

What the stranger sees, in order

They see a success message, then wait for mail, then open it, often on a phone while the signup happened on a laptop. A localhost link on a phone points at the phone itself, so the failure looks even stranger. Nothing on the signup screen warns them. Add a line that says which address the email comes from and what to do if the link fails, and offer a resend. A visitor who gets stuck here rarely writes to you.

Run the signup the way a stranger would

Paste your live signup address and ask visitors to create an account and confirm it from the email. Each visitor has a working inbox, so the report shows whether the email arrived and whether its link worked, with the step and a screenshot. Run it again after you change the setting. It does not read your project settings, so use the report to find the failing step and the settings to find the cause.

Mimiq is independent and not affiliated with the platforms it names. Names belong to their owners.

What you get with Mimiq

  1. 01

    Run it by hand, or on every pull request

    Paste a link and a task in the app and watch the visitors work. Or run them on every preview deploy: the GitHub Action comments on the pull request, any other CI can call the MCP endpoint, and your coding agent can run it too.

  2. 02

    Bugs and usability problems in one report

    The browser records errors and failed or slow requests on the step they happened. The visitors say where the wording or the steps confused them, and where they left.

  3. 03

    Visitors that behave like your audience

    Each visitor is a different profile with a reason to be there, matched to who the page is for, described by you, or built from your own customers.

  4. 04

    A prompt to fix each problem

    Every problem comes with a fix to paste into Cursor, Claude Code, Lovable or any coding agent, and one prompt hands over the top problems at once. Then send the same visitors through again.

  5. 05

    Follow every visitor

    See each visitor's whole path, step by step with screenshots, and what it was thinking at every step. Ask any visitor a question.

The browser records relevant JavaScript errors and failed or slow app requests encountered during the run, attached to the step where they occurred. The visitors are simulated: they find problems, they do not predict how many real people will convert.

A new environment can bring localhost back

A new staging project, a copied environment file or a fresh deploy can put the local address back without touching the signup page. Rerun the same visitors after each change to the auth setup and read who confirmed. Paid credits let visitors use a test account you give them, so you can check later steps behind the login too.

Starter

Try it on one launch

$9 once
120 credits, never expire

24 visitors, about 4 tests of 5

  • Visitors on your landing page, signup and checkout
  • Where they left and why, with a fix to copy for each problem
  • Run it in the app or on every pull request
  • Ask any visitor a question, included
  • Test accounts and protected previews
Buy 120 credits

Builder

Test every build

$19 a month
500 credits every month

100 visitors, about 20 tests of 5

  • Everything in Starter
  • Credits refill each month, and what is left rolls over once
  • Cancel anytime
Choose Builder

Pro

Test every release, as a team

$49 a month
1,500 credits every month

300 visitors, about 60 tests of 5

  • Everything in Starter
  • Credits refill each month, and what is left rolls over once
  • Cancel anytime
Choose Pro

Scale

Test at scale, every day

$149 a month
6,000 credits every month

1,200 visitors, about 240 tests of 5

  • Everything in Starter
  • Credits refill each month, and what is left rolls over once
  • Priority support
  • Cancel anytime
Choose Scale
$0for your first test, with a free account (Google or email, no card). It includes 50 credits, enough for 10 visitors. After that a visitor uses 5 credits, and packs start at $9 for 120 credits.
See a sample report

Questions

Where do I change the address in the link?

In the project's auth settings, look for the Site URL and the redirect address list. Set the Site URL to your live address and add every address you really use. Menu names change, so search the settings for those two words.

I fixed the setting and the old email still points to localhost. Why?

Emails already sent keep the address they were built with. Sign up again with a new address and open the new email. Resending an old confirmation may also reuse the old link.

Does the redirect allow list matter if the Site URL is right?

Yes. If your code passes its own redirect address and that address is not on the list, the service may fall back to the Site URL or refuse. Add the exact addresses you use, including preview addresses.

Can the test see my Supabase settings?

No. It only sees what a visitor sees: the signup, the email in their inbox and the page the link opens. It cannot read your settings, so it will not name the setting at fault.

Can visitors confirm by text message or Google?

No. Visitors cannot receive text messages or sign in with Google. They sign up with an email address and open the confirmation email in their own inbox. A visitor opens the email in its own inbox and follows the link on the live site.

Will the test predict how many people fail to confirm?

No. It does not predict rates or read your project settings. It shows whether a few strangers got the email and whether the link opened your live site, with the step and a screenshot.

Keep reading

Send visitors and see what breaks first.

Your first test is free: sign in with Google or email and it starts right away. Last checked 2026-12-03.

5 visitors try to .