Build & format
OAuth2 URL Builder
Build Discord OAuth2 authorize URLs for Login with Discord flows.
How to use
- Copy Client ID from Developer Portal → Your Application → OAuth2.
- Set Redirect URI exactly as registered in the portal. Pick scopes: identify/email for login, guilds for server list, bot + permissions for adding a bot (often easier via Permissions Calculator).
- Optional state parameter for CSRF protection. Copy the authorize URL and open it in a browser to start the flow.
Frequently asked questions
- How is this different from the permissions calculator?
- Permissions builds bot invite links with a permission bitfield. OAuth2 builds user authorization URLs with scopes like identify and guilds.
- What can I copy from OAuth2 URL Builder?
- Copy Client ID from Developer Portal → Your Application → OAuth2.
- How do I configure OAuth2 URL Builder?
- Set Redirect URI exactly as registered in the portal. Pick scopes: identify/email for login, guilds for server list, bot + permissions for adding a bot (often easier via Permissions Calculator).