Discord OAuth · no vendor app
Discord OAuth local development without real credentials
Ship Discord Login UI and callback handling before you create an application in the Discord Developer Portal.
dummyoauth gives you client id, client secret, and issuer URLs for development. Register localhost redirect URIs, add dummy users, and keep the same env variable names for production.
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.
Skip Discord client secrets in dev
No bot token or OAuth client secret from Discord until your flow works end to end on your machine.
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
- 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.
- 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.
- 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.