By platform

Clerk not working in production: causes and fixes

Sign in worked in development and the live site shows an error or a blank box. Simulated visitors try it on the public address and report what they met.

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

Why does Clerk work in development and not in production?

The usual cause is that the live site still uses development keys, or the production instance has not been set up for your domain, which needs records added at your DNS provider. Next come environment variables set on the wrong host or build, and redirect settings that name local addresses. A simulated visitor opens the live sign in, tries to sign up and reports the step and message.

What this looks like in a report

Who
Ivana, an architect who was sent a link to a project tool
How they arrived
Opened an invitation email
Where they stopped
Sign in page, before any box appeared

“The page loaded and where the sign in form should be, there was a blank area. I waited, reloaded and tried another browser. Nothing. I assume the invitation is broken.”

The fix. Set the production keys in the host's environment settings and redeploy, finish the DNS records for the production setup, and update the redirect addresses to the live domain.

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

Development mode forgives what production does not

A development setup is built to work without your domain. Production is a separate setup tied to your own domain, with its own keys, and it needs records at your DNS provider before it will work. If the live site is built with the old keys, or the records are not yet verified, the sign in box may not load, or loads and fails. The environment values are set in the place that builds your site, so changing them on your machine changes nothing. A stranger sees an empty space where the form should be.

  • Open the live site in a private window. Does the sign in box appear at all?
  • Check which keys the live build uses. Are they the production ones?
  • Check your DNS provider for the records the setup asked for. Are they present and verified?
  • Try sign up from a different browser. Does it fail the same way?
  • Check the redirect addresses. Do any still name a local address?

Keys live in two places

There are usually a public key used in the browser and a secret key used on the server. Both differ between development and production. If the host still holds the development ones, or only one of them was replaced, the page loads with mixed settings. After changing environment values you must redeploy, since they are read at build or start. Check the live page's network requests: they show which instance it talks to.

DNS and the domain

Production is tied to your domain, and the setup asks for DNS records at your provider. Until they are added and verified, parts of sign in do not work. DNS changes take time to spread, so a check right after adding records can fail and pass later. Look at the status shown in your dashboard, and test from a network that has not cached the old answer.

Redirects and the first screen

After sign in the person goes to an address your settings or code name. Leftover local addresses send them nowhere. Also check that the first screen after sign in loads for a brand new account: it is often written with your own account in mind. Redirect behavior has its own page. Run the sign up with a brand new address too, because accounts you made during development carry data a new person will not have.

A stranger test on the live address

Ask visitors to sign up on the public address and reach the first screen. They sign up with email, with a working inbox for a code or link. The report shows whether the form loaded, the step they stopped at, errors on the step and a screenshot. It cannot read your keys or DNS, and visitors cannot use Google sign in, so check those by hand.

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 rotated key or a new domain can bring it back

A key change, a new domain or a redeploy with the wrong environment can switch sign in off for strangers while it works for you. Rerun the same visitors after each of those changes, and read who got in. Paid credits let visitors use a test account you give them, so screens behind sign in get checked 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

Do I need a separate setup for production?

Yes, production is set up apart from development, with its own keys, and tied to your domain. Check your dashboard for the steps it lists, since they change over time.

I changed the keys and nothing changed. Why?

The host reads environment values when it builds or starts the site. Redeploy after changing them, and clear any cache that may serve the old build. A cached build or a second host serving the old files is a common reason for no change.

Can the test see my DNS records?

No. It shows what a visitor saw on the public address. Whether the records are present is checked at your DNS provider and in your Clerk dashboard. Ask your DNS provider or the dashboard for the status of each record.

Can visitors sign in with Google?

No. Visitors cannot use Google or another single sign on. They can sign up with an email address and open a code or link in their own inbox. They can sign up with an email address if your page offers it.

Does it tell me how many people will sign up?

No. It does not predict rates. It shows whether a stranger can get through and where they stop. Use the report to find the failing step, then check keys, records and redirects yourself, since the test only sees the page.

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 .