kogiQA Universal OAuth2 Mock Server
Public Instance: https://oauth.kogiqa.com
Source Code: GitHub Repository
Supported Providers
The mock server includes built-in support for the following providers:
- Microsoft
- Generic OIDC (Standard OpenID Connect)
Key Benefits
1. No More "Flaky" Tests The mock server never asks for a CAPTCHA and never demands 2FA. It returns the exact token and user profile you expect, 100% of the time. Your tests stop failing randomly.
2. You Don't Change Code
This isn't a custom API. It mimics the exact routes of Google, Microsoft, and generic OIDC. Your app thinks it's talking to the real thing—you just swap the URL in your .env file.
3. "Magic" Users
Need to test a specific edge case? You don't need to seed a database or create a dummy account.
Just pass ?email=admin@company.com in the auth URL, and the server magically creates a token for that user on the fly.