OAuth Mock Server
Anyone who has built an OAuth integration knows that it is quite hard to test the integration during an automatic test setup because one has to automate the provider's part, which often has quite strict bot protections, so it often fails.
To counter this, we have built an OAuth mock server for the most common providers, such as Google, Microsoft, GitHub and Facebook. It's a drop-in replacement, so you just enter the URL below and send your request to it instead of the provider's URL.
The URL paths are the same, so you just have to replace the URL. Our system gives the same response as the real service but does not require any interactions, so it succeeds automatically.
You can also specify what information should be returned by adding a name and email parameter to the URL. This information will be
returned. It's also returned in the same format as the original provider would use.
Supported providers
| Provider | Auth path | Token path |
|---|---|---|
| /o/oauth2/v2/auth | /oauth2/v4/token | |
| Microsoft | /common/oauth2/v2.0/authorize | /common/oauth2/v2.0/token |
| GitHub | /login/oauth/authorize | /login/oauth/access_token |
| /v12.0/dialog/oauth | /v12.0/oauth/access_token | |
| Discord | /api/oauth2/authorize | /api/oauth2/token |
| Slack | /openid/connect/authorize | /api/openid.connect.token |
| Apple / Generic | /auth/authorize | /auth/token |