# Dev Auth Bypass

> Authenticate a browser against a local ChatJS app without OAuth. Use for development login, local auth bypass, authenticated browser or Playwright testing, and the /api/dev-login route.

- Skill: `franciscomoretti/dev-auth-bypass` (Agent Skill)
- Install (CLI): `npx skillmds@latest add franciscomoretti/dev-auth-bypass`
- Raw SKILL.md: https://api.skillmd.com/api/skills/franciscomoretti/dev-auth-bypass/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Integrations & APIs
- Author: franciscomoretti (https://skillmd.com/u/franciscomoretti)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/franciscomoretti/dev-auth-bypass

---


# Dev Auth Bypass

- Given the app URL, navigate the browser to `<app-url>/api/dev-login`.
- Use browser navigation rather than `curl` so the browser receives the session cookie.
- Expect the route to create the local dev user and session, then redirect to the app.
- Use this route only in development. It returns `404` otherwise.

