Short answer (tested 2026-12-01, @stytch/nextjs 22.4.0, Next.js 16.4.6, free Consumer project). Stytch's Test environment is free with no card, and its mails arrive in about 3 s. The official Consumer Next.js quickstart, followed verbatim, never signs anyone in by magic link. It tells you to put the prebuilt <StytchLogin> on /authenticate, but that component does not read the ?token= on the redirect. Stytch's own example repo says so: "The pre-built component does not automatically handle token authentication." The same snippet has 6 more errors. Ten wrong passwords lock the user for an hour, and the lock also blocks email OTP and magic links. Production is enabled at signup, but any endpoint that sends email returns billing_not_verified until you add a card.
| Check (2026-12-01) | Result | |---|---| | Developer signup | Email magic link (3.6 s) → workspace form. B2B is preselected; pick Consumer. No card, phone or CAPTCHA. 1 min 42 s | | Fresh create-next-app → first login via the docs quickstart | 14 min 10 s wall clock, including ~5.5 min lost to our own dashboard mistake (below). 7 doc errors | | Magic-link / OTP mail to our inbox (Test env) | 2.1, 2.5, 2.8, 2.8, 3.5 s (median 2.8 s, n=5) | | Password sign-up | Session at once, email left verified:false, no mail sent | | Plain headless Playwright: password sign-up and sign-in | Worked, no challenge | | Plain headless Playwright: open magic link | stytch.com/redirect-error 3 of 3; the token survives | | 20 wrong passwords ~18 s apart | Locked at the 10th for 1 h; the correct password, OTP and magic link all get 429 user_lock_limit_reached | | User export | No dashboard export; Search users API only; password hashes "contact us at support@stytch.com" | | Production | Free to enable. Password sign-up works; email OTP returns 400 billing_not_verified |
Stytch Consumer Next.js quickstart: `<StytchLogin>` on `/authenticate` doesn't log in
We pasted the "Next.js - App" tab of Add login or signup into a fresh Next.js 16.4.6 app. Step 5.2 says to "add <LoginOrSignupForm> to your /authenticate redirect route as well". The magic link then landed on /authenticate?stytch_token_type=magic_links&token=…, and the form rendered again. The browser never called /sdk/v1/magic_links/authenticate. In 22.4.0 only the B2B UI calls authenticateByUrl(); the Consumer StytchLogin doesn't. Stytch's Next.js consumer example handles the token by hand. With that handler, the click-to-session time was 4.1 s:
// app/authenticate/page.tsx ('use client')const token = new URLSearchParams(window.location.search).get('token');await stytch.magicLinks.authenticate(token!, { session_duration_minutes: 60 });router.replace('/home');The quickstart also never mentions Redirect URLs. A new project's default is http://localhost:3000/authenticate, and the quickstart creates neither /authenticate nor /home (the page it redirects to after login).
Six more errors in the Stytch Next.js quickstart code
In the order we hit them:
1. .jsx files contain TypeScript: ./app/layout.jsx:5:2 Error: Expected ',', got ':'. 2. app/login/page.jsx has no 'use client': You're importing a module that depends on 'useRouter' into a React Server Component module. 3. Module not found: Can't resolve 'src/components/LoginOrSignupForm'. 4. Module not found: Can't resolve './components/stytch-provider' (the file is at the root components/). ReactNode is used but not imported. 5. next build, which dev mode doesn't run: error TS2769 … Type 'string' is not assignable to type 'OAuthProviders' for { type: 'google' }. Use OAuthProviders.Google. 6. next build: error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string' for the public token.
The .md copy of the top-level quickstart that an agent fetches is only a card picker with no steps.
Our own detour: the Frontend SDK page's "Add domain" Confirm only stages the change; Save is in the page header. We left the page, the domains were dropped without a prompt, and the SDK returned 400 bad_domain_for_stytch_sdk.
Stytch magic links in headless browsers: blocked at the redirect, token kept
Plain headless Playwright (HeadlessChrome/159, no stealth) could sign up and sign in with a password, and could send a magic link. Opening the link was different. Stytch's redirect page posts to /v1/magic_links/redirect/dfp and then sends the browser to https://stytch.com/redirect-error: "Login Error There was an error logging you in." This happened in 3 of 3 runs. The same link then signed in from a headed agent-driven Chromium, so the token was not used up. Stytch documents this as protection against "corporate email scanners". An agent testing sign-in headlessly should use email OTP or passwords, or a headed browser. Login and signup bot protection (Protected Auth) is "Contact support to enable", and Device Fingerprinting is a 30-day trial behind a request form.
Stytch brute-force lockout: 10 failures lock out every factor for an hour
Through the prebuilt password form, wrong passwords 1–9 returned 401 unauthorized_credentials. After the 10th, the admin API showed is_locked: true with lock_expires_at exactly 1 h later. From then on, the correct password returned:
429 user_lock_limit_reached: The user has been locked out due to too many failed authentication attempts. Please try again later.During the lock, sending an email OTP or a magic link to the same user also returned 429 user_lock_limit_reached. So anyone who knows a user's email can lock that user out of every login method for an hour with 10 requests. A related point: with only the public token, /sdk/v1/users/search tells anyone whether an email is new, password or passwordless. Stytch's "opaque error messages" setting is "Incompatible with passwords".
Stytch free plan: Production is open, but email endpoints need a card
Every workspace gets a Production environment at signup. Enabling the SDK there and authorizing http://localhost:3005 needed no card, and a Live password sign-up returned 200. The first Live email OTP returned:
400 billing_not_verified: You cannot use this endpoint in the Live environment until credit card details are added to your account, but you can try the endpoint in the Test environment.The billing page (read only) shows $0.00, says "Stytch has no feature gating or pricing tiers", and lists 10,000 monthly active Consumer users included. "Full email customization and Stytch brand removal" and Device Fingerprinting are separate add-ons. Test users don't count: the workspace showed "0 Live Users" while Test had 4. We haven't yet seen how a day-2 Live login is counted.
Stytch user export: no button, and password hashes need a support email
The dashboard Users page can list and search users but has no export option. Stytch's export guide points to the Search users API and a Node export script. For users with passwords, it says to "contact us at support@stytch.com". The user object includes a password_id, not a hash. We did not email support.
Method
Tested 2026-12-01, 19:19–21:08 UTC, free Test and Production environments, Consumer project. Client: Ubuntu VM (Node 22.22.1) on a heavily loaded Mac in India; no latency was benchmarked. Browsers: a headed agent-driven Chromium and headless Playwright 1.65.1. Harness-only changes: allowedDevOrigins, and a host mapping so the VM's headless browser could reach the redirect URL. The first lockout run was cut off at attempt 3 when the host rebooted; the second used a fresh user. Evidence: repro/NOTES.md (timeline and every error verbatim), repro/logs/, repro/api/, repro/inbox/ (tokens redacted), repro/docs/ (docs as fetched), repro/app-src/verbatim and final, repro/shots/.
Re-tested: 2026-12-01. Outdated if the Consumer quickstart adds a token handler, StytchLogin starts consuming ?token=, or Live email stops requiring a card.