Discord OAuth · stub server

Discord OAuth local development mock stub server

Run your app against a stable mock authorization server while Discord API credentials are still on the backlog.

Point discovery and token requests at https://dummyoauth.com/p/your-project instead of hand-rolling per-route mocks in your repo.

Development and test only

dummyoauth is a mock IdP for local development, MVPs, and automated tests. Not a production identity provider or a replacement for Discord's OAuth service in production.

Why teams use it

Issuer at https://dummyoauth.com/p/your-project, app on localhost or CI.

Real OAuth2 redirect loop

Exercise authorize, callback, and token exchange in your app while Discord Developer Portal credentials are still pending.

No production Discord app required

Register redirect URLs and client secrets on the mock issuer. Add dummy users for predictable consent during local runs.

Hosted stub server

Authorize and token endpoints live on your dummyoauth project URL. Your app stays on localhost or CI loopback.

Quick start

  1. Step 1

    Wire OAuth2 client code first

    Use the GitHub preset (OAuth2 authorization code) or generic OIDC to validate redirect URI handling and token parsing in your stack.

  2. Step 2

    Copy Integration env vars

    Paste issuer, client id, and client secret from your project Integration panel into the same variables you will use for Discord.

  3. Step 3

    Swap to Discord when ready

    Create an application in the Discord Developer Portal, set authorize and token URLs to discord.com, and replace client credentials.

FAQ

Does dummyoauth emulate discord.com URLs today?
Presets today mirror Google, GitHub, Microsoft, and other common IdPs. Discord Login uses standard OAuth2; use the GitHub preset to test OAuth2-only client wiring, then point at Discord endpoints when you have a Developer Portal application.
What credentials do I need for local development?
On dummyoauth you create a project OAuth client with redirect URIs like http://localhost:3000/callback. No Discord client id or secret is required until you switch to the live Discord API.
Can I use this in production?
No. dummyoauth is a development and test mock IdP. When you ship, point your app at real provider consoles (Google, GitHub, Discord Developer Portal, and so on) and production client credentials.

Ready to try the mock issuer?

Sign in with GitHub and create a project in minutes.

Start free