Documentation Index
Fetch the complete documentation index at: https://docs.alterauth.com/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Connect your users to Discord for identity verification, server membership data, and messaging integrations.| Property | Value |
|---|---|
| Provider ID | discord |
| Category | Communication |
| PKCE | Supported |
| Token refresh | Automatic |
| Redirect URI | Shown in Developer Portal |
Step 1: Create a Discord OAuth App
Go to the Discord Developer Portal
Navigate to discord.com/developers/applications and sign in.
Configure OAuth2
In the left sidebar, click OAuth2. Under Redirects, add the Alter callback URL from the Developer Portal.
Step 2: Add to Alter Vault
Open the Developer Portal
Go to portal.alterauth.com and navigate to your app.
Enter credentials
- Client ID: Paste your Discord Client ID
- Client Secret: Paste your Discord Client Secret
Available Scopes
| Scope | Description |
|---|---|
identify | Access to user ID, username, and avatar |
email | Access to user’s verified email address |
guilds | Access to list of servers the user belongs to |
guilds.join | Add user to a server |
guilds.members.read | Read server member data |
messages.read | Read DM messages (requires approval) |
bot | Add a bot to a server |
connections | Access to linked third-party accounts |
webhook.incoming | Create webhooks in servers |
Notes
- The
messages.readscope requires Discord approval and is only available to verified bots. - For most user-facing integrations,
identifyandemailare sufficient. - See the Discord OAuth2 documentation for more details.