Skip to content
All findings

Clerk free tier + Next.js 16, hands-on Dec 2026: no-account setup in 3.5 min, headless Playwright sign-up stuck on protect_check, lockout blocks email codes too

Published 1 Dec 2026

On a fresh Next.js 16 app, Clerk's quickstart (npx -y clerk@latest init) needs no Clerk account. It had a real user signed in after 3 min 36 s, with one manual edit. Verification codes reached our inbox in 0.7 to 4.0 s. The part that trips agents is automation. A plain headless Playwright sign-up never finishes; it stays on /sign-up/protect-check. A headless sign-in with the right password still asks for an emailed code ("new device"). Ten wrong passwords lock the account for an hour, and the lock also blocks email codes.

| Workload step (2026-12-01, free Hobby plan, dev instance) | Result | |---|---| | Fresh app → first signed-in user, following the quickstart | 3 min 36 s: clerk init 74 s, 1 edit, clerk doctor 4 s; no account, no keys copied | | Verification email time to inbox (4 app sends) | 0.7 / 0.7 / 3.7 / 4.0 s (median 2.2 s); dashboard sign-up code 7.1 s | | Email+password and email-code sign-up/sign-in | Both on by default, plus Google | | Agent browser, headed (real Chromium profile) | Sign-up passed, no visible challenge | | Headless Playwright sign-up | missing_fields: ["protect_check"], stuck on "Verifying your request" (watched 60 s, no email sent) | | 10 failed logins | Rate limit ("Too many requests") from the 6th rapid try; 10 counted failures lock all factors for 60 min | | User export | Dashboard CSV includes bcrypt password_digest + totp_secret; CLI/API export has no hashes | | Production | Needs a domain you own (not *.vercel.app); no card asked at that step; MFA and passkeys are paid | | MAU (MRU) counting | Not observable on a dev instance |

What `npx clerk init` does on Next.js 16 with no Clerk account

Run signed out and without a TTY, clerk init (CLI 4.4.0) creates an "accountless" development app. In 74 s it also:

  • installs @clerk/nextjs;
  • writes proxy.ts with clerkMiddleware(), <ClerkProvider> in app/layout.tsx, and /sign-in and /sign-up pages;
  • puts pk_test/sk_test keys in .env.local and a claim token in .clerk/keyless.json.

It does not add sign-in or user buttons; quickstart Step 5 asks the agent to add <Show> controls. It also installs 8 Clerk agent skills into ~/.agents/skills for "79 agents", a global side effect worth knowing about on a shared machine.

Claiming the app later is clerk auth login: an OAuth page, then dashboard sign-up ("No credit card required"), then consent. The app kept the same keys and users. The old keyless mode (no keys at all) was removed in @clerk/nextjs 7.8.0. Missing keys now throw an error that points to clerk init.

Why does headless Playwright sign-up hang on Clerk's protect_check?

Clerk's free plan runs "Challenge suspicious sign-ups" and "Require Device Intelligence checks" by default (dashboard → Protect). The sign-up response from Playwright 1.65.1 headless was:

log
"status":"missing_requirements" ... "missing_fields":["protect_check"]

A Cloudflare Turnstile challenge loads and the page shows Verifying your request. Please wait while we verify your request. The page showed no error, and no email was sent, over 60 s. A +clerk_test address doesn't avoid the check. A headed agent-driven Chromium with a real profile passed with no visible challenge.

Headless sign-in with a correct password returned status: needs_client_trust: "You're signing in from a new device. We're asking for verification to keep your account secure." Then an email code is required.

The quickstart's route for automated tests worked: 1. npx clerk users create --email <name>+clerk_test@example.com --password <16 chars> --yes 2. Sign in headless and enter 424242 at the new-device step.

For testing sign-up itself, the docs point to @clerk/testing, which we did not use.

To detect the wall early instead of waiting on the page, read the sign-up response: if POST /v1/client/sign_ups returns "status":"missing_requirements" with protect_check in missing_fields, the headless sign-up will not complete.

How Clerk's brute-force lockout behaves on the free plan

Defaults: lockout after 10 failures for 60 min, and enumeration protection off. With attempts 2.6 s apart, the 6th onward got Too many requests. Please try again in a bit. and wasn't counted (API: verification_attempts_remaining: 5). Paced 15 s apart, the 10th failure locked the user. The UI banner counts one behind: after the 10th failure it still said "There is only 1 remaining attempt."

While locked, both the correct password and an email code returned 403:

log
code: user_lockedYour account is locked. You will be able to try again in 59 minutes. For more information, please contact support.

So anyone who knows a user's email can lock them out of every sign-in method for an hour. POST /v1/users/{id}/unlock clears it immediately.

Clerk's own security audit grades the defaults C

On a claimed app, npx clerk security audit gave grade C (9 of 15 met), with bot protection and MFA flagged "critical". clerk security fix bot-protection --yes printed Applied: bot-protection and Grade C → B, but the next audit, config pull and /v1/environment all still showed captcha_enabled: false. A direct config patch also reported success with false in its own response. The audit appears to check the old captcha flag while Protect does the blocking.

security fix mfa worked in development. The dashboard then showed "2 paid features ... free to try on your development instance". "Go to prod" stopped with: "The Authenticator app (MFA) and Backup codes (MFA) features are not available on your current plan for production instances." Passkeys are also Pro-only per the pricing page. So two of the audit's fixes would need a paid plan before going to production.

Exporting Clerk users: hashes only from the dashboard

Dashboard → Developer → Settings → Export users produced a CSV in seconds, with no ticket. It is kept for 3 days. Columns include password_digest (bcrypt $2a$10$), password_hasher and totp_secret, but no metadata.

clerk migrate export clerk (2.5 s) gives JSON without them: "Clerk's API never returns password digests, TOTP secrets or backup codes ... Users will need to reset their password in the destination instance."

What Clerk's free tier requires for production

"Go to prod" asks only for an application domain. With MFA off, no card was asked at that step. We stopped there. clerk deploy in agent mode says a hosting URL "such as *.vercel.app won't work". The dev instance has no MAU or retained-user counter and the API has only /users/count. Clerk's pricing page says a user is counted "when they return 24+ hours after signing up"; we could not check that.

Next.js 16 build errors from Clerk code an agent might write

create-next-app 16.4.6 enables cacheComponents. Without <Suspense> around <Show>, next build fails with Route "/": Next.js encountered uncached or runtime data during prerendering. The pre-2026 <SignedIn>/<SignedOut> components still type-check but fail at build:

log
Error: Clerk: <SignedOut> is not available in @clerk/nextjs Core 3. Learn more at https://clerk.com/err/signedout-is-not-available-in-clerk-nextjs

Method

The workload is the same for every auth provider we review. A fresh create-next-app runs in an Ubuntu VM, and we followed Clerk's quickstart word for word. Email goes to a peerfinds.com inbox; we took the click time from the Mac and the arrival time from the inbox. Browsers were a headed Chromium agent browser (headed) and Playwright headless. One test user was used, with no load testing. We did not try to get past any captcha or bot check. Host load was 17-26 on a shared Mac, but the timings are mostly network-bound. Evidence: repro/timeline.md, raw API JSON, logs and screenshots.

Outdated if: Clerk changes Protect defaults, lockout defaults or the clerk init flow, or the Hobby plan gates.