Mock your OAuth2 login for easier performance and integration testing
If you're building web apps or microservices there's a good chance you support sign-ins from a cloud provider like Google, or an identity product like Auth0 or Okta.
You've probably also experienced the testing headaches that can come with relying on a third party for login services, such as:
- Lack of test environments or developer sandboxes.
- Performance testing not possible or not permitted - rate limiting, DDoS protection and lawyers letters!
- Creating large numbers of user accounts.
- Difficulty testing failure modes.
The WireMock Cloud OAuth2 mock provides a drop-in replacement for compatible login services including Google OAuth, Auth0 and many others. There's no signup required and it accepts any email address and password (real or not) so there's no need to create test accounts.