VP Social Login - Configuring Discord login

Discord sign-in works the same way as Google: create an OAuth2 application in the Discord Developer Portal, add VP Social Login's redirect URI, then paste the Client ID and secret into the plugin.

Before you start

Open System - VP Social Login, go to the Discord tab and switch Enabled on. Copy the redirect URI shown there — you'll paste it into Discord.

It looks like this (with your real domain):

https://your-site.com/index.php?option=com_ajax&group=system&plugin=vpsociallogin&format=raw&vpsl=callback&provider=discord

Create the Discord application

  1. Go to the Discord Developer Portal.
  2. Click New Application, give it a name and accept the terms.
Creating a new application in the Discord Developer Portal
Create a new Discord application.

Add the redirect URI

In the application, open OAuth2 and, under Redirects, click Add Redirect. Paste the redirect URI from the Discord tab (the one ending in provider=discord) and save.

Adding the VP Social Login redirect URI in Discord OAuth2 settings
Add the exact redirect URI under OAuth2 → Redirects.

The redirect must match character for character, including https:// and your domain. A mismatch causes an Invalid OAuth2 redirect_uri error on Discord.

Copy the credentials into Joomla

Still on the OAuth2 page, copy the Client ID, then click Reset Secret to reveal the Client Secret.

Discord application Client ID and Client Secret
Copy the Client ID and Client Secret.

Back on the plugin's Discord tab, make sure Enabled is on, paste both values, and Save.

Test it

Log out, open your login page, and click Continue with Discord. You should be sent to Discord to authorize, then returned and signed in.

Discord only returns an e-mail address if the user has a verified e-mail on their account. Unverified accounts can still sign in; they're treated as new accounts unless linked from the profile.