Skip to content

Discord

Members sign in with their Discord account, in the system browser.

ConsoleDiscord Developer Portal
Endpoint groupSocial Login
EmailReturned, and verified — Discord can match an existing account
Signs inIn the browser
  1. Open the Discord Developer Portal and create a New Application.

    Name it what members should see on the authorisation screen.

  2. Open OAuth2 in the sidebar.

  3. Add a redirect under Redirects: the address from Memberside → API Keys → Social Login → Discord, which looks like https://yoursite.com/wp-json/memberside/v1/social/callback/discord.

  4. Save changes. Discord discards an unsaved redirect without complaining.

  5. Copy the Client ID, then Reset Secret and copy the client secret.

You do not need a bot, and you should not add one. Sign-in uses the identify and email scopes; a bot token is a different credential for a different job.

Discord accounts without a verified address

Section titled “Discord accounts without a verified address”

Discord requires a verified email on any account that can join servers, so in practice every member you meet has one. An account that has not verified its address is refused rather than let through unverified.

Under Memberside → API Keys → Social Login → Discord:

FieldValue
Client IDThe Client ID
Client secretThe client secret
SymptomCauseFix
“Invalid OAuth2 redirect_uri”The redirect was added but not savedAdd it and press Save changes
The authorisation screen shows the wrong nameThe application nameRename the application
The secret stopped workingSomebody reset itReset it again and paste the new one
A member is refusedTheir Discord address is unverifiedThey verify it with Discord