DevToolsTestingOAuthOpen Source

OAuth Mock Server

Plug-and-play OAuth mock server for end-to-end testing

Problem
Developers testing OAuth integrations often rely on real third-party auth services, making tests slow, flaky, and hard to cover edge cases. Building a mock server manually is tedious and requires supporting providers like Google, Microsoft, and GitHub, leading to reinventing the wheel.
Solution
An open-source OAuth mock server that acts as a drop-in replacement for Google, Microsoft, GitHub, and others in end-to-end tests. It starts quickly with simple configuration, returns predictable tokens and user info, enabling stable and fast testing of auth flows without external dependencies.
Users
Backend and full-stack developers who need to test OAuth integrations, especially teams using CI/CD pipelines.
MVP
Support basic OAuth 2.0 flows for Google, Microsoft, and GitHub; one-click start with Docker image; configurable user info responses; simple logging for debugging; provide example test code.
Revenue
Open-source core + cloud-hosted service (usage-based pricing), or enterprise edition with more providers and advanced features (custom delays, failure injection).
Why now
With the rise of microservices and third-party logins, OAuth testing is in high demand, but existing solutions either rely on real services or require self-hosting; indie developers can build fast and leverage open-source community for adoption.

Source discussions · 1

  1. Hacker NewsShow HN: OAuth Mock Server3↑ 0
← Back to list