OAuth testing for the agentic era.
Test Google, Microsoft, GitHub, Apple, Discord, LinkedIn, X and Facebook sign-in in CI, without getting blocked.
One free OAuth provider for agentic development, E2E tests, and CI. No app registration, no bot checks, no fragile workarounds.
Give your agent this prompt
Install the Mockatoo skill by running npx skills add mockatoo/connectors --skill mockatoo. Then run npx -y @mockatoo/mockatoo@latest init in this app’s directory and follow the skill to set up OAuth for local development and E2E tests. Verify sign-in and consent denial end to end.
Works with Better Auth, Auth.js, and your existing OAuth flow.
real OAuth provider · playwright · chromium
Flaky: 3 of the last 10 runs failed
Mockatoo · playwright · headless
Stable: 50 of the last 50 runs passed
Automated testing
Built for E2E OAuth testing
Mockatoo was created for automated testing.
- Headless
- Playwright
- Cypress
- CAPTCHA
- 200 OK × 500
- 429 Too Many Requests
- <form>
- name="email"
- type="submit"
Built for agents to log in
Agent-friendly for development
Confidently delegate your development OAuth work to an agent.
- No reCAPTCHA
- No proof-of-work
- No MFA
- No automated bot detection
Install in your agent
npx skills add mockatoo/connectors --skill mockatooInstant integration
Select an identity provider and framework, then copy ready-to-run code.
Faithful provider behavior
Mocks reproduce each provider as closely as possible — real redirects, consent screens, tokens, and edge cases.
Zero app registration
Skip developer apps, API credentials, and redirect URI consoles.
- Developer app
- Client secret
- Redirect URI
- Ready
Connect in minutes
Keep your app. Swap the provider.
Use your framework's normal sign-in call. Mockatoo changes the provider address outside production, so your app keeps its routes and behavior.
import { betterAuth } from "better-auth";import { mockGoogle } from "@mockatoo/connect-better-auth";const google = { clientId: process.env.GOOGLE_CLIENT_ID!, clientSecret: process.env.GOOGLE_CLIENT_SECRET!,};const isProd = process.env.NODE_ENV === "production";export const auth = betterAuth({ socialProviders: isProd ? { google } : {}, plugins: isProd ? [] : [mockGoogle(google)],});Make the next OAuth test the easy one.
Mockatoo is designed for the messy middle of development: before production, after the first integration, and alongside your agent.