Loading…
Add user authentication · prompt 3 · Claude Code · week 2026-W44
Prompt: Add email/password auth with sessions to this Next.js project and show the signed-in user's email in the header.
Grader: The agent built email/password auth with no new dependencies, using Node crypto scrypt and server-side hashed session tokens backed by a local JSON file, wired into login/signup pages and the header, and verified the flows with curl against a production build; the main caveat is the JSON file store, which won't work on serverless hosts.
Replay of the real agent session in an isolated sandbox. Tool output is truncated for readability.