WordPress Discord Integration Addon User Restriction Feature. If an user is not present in your discord server, you could employ the user restriction tool to prevent them from logging in or registering on your WordPress website.
When a user logs in or registers on your website using Discord, it will first verify if the user is in the Discord Channel and only then will the Login/Registration action be allowed. If a user is logged in on your WordPress site and subsequently removed from the discord channel for some reason, he will also be logged out of the website.
For more info on WordPress Discord Integration Addon User Restriction Feature Contact us at socialloginsupport@xecurify.com
Steps to Configure WordPress User Restriction based on user presence in Discord server/channel.
Step 1: Configure Discord User Restriction in WordPress
Follow the steps below to configure User Restriction in WordPress website based on user presence in Discord Serve using Discord Integration Addon in WordPress
Configure Discord User Restriction Integration in WordPress
- First and importantly, create a Discord custom application. You can refer to the guide to setup custom application from Discord.
- Now, from the left-hand menu, select the bot tab. To add a bot, click the Add Bot button.
- Copy and paste the Token into the Bot Token Key field.
- Copy the ID from your Discord server by right-clicking on the server name. In the Guild ID field, paste it.
- Select the following permissions in the URL generator section of the OAuth2 section.
- In a new tab, copy and paste the newly formed URL. You'll be asked to join a Discord channel. Select a server and provide it administrator rights. The Bot will be added to your Discord Server
Step 2: User Restriction in WordPress based on user present in Discord Server
- If a user who is not a member of your discord server tries to log in or register using Discord Social Login in WordPress, they will be denied access and redirected to the notice page.
- In the second scenario, the user is on the Discord server. When the same user tries to login/register on your WordPress site using Discord Social login, he is granted access.
- In the third situation, if a person is removed from the Discord server, he will be automatically logged out of the WordPress website and will no longer have access to it.
You can download social login plugin using the following link.
Additional Resources
If you are looking for anything which you cannot find, please drop us an email on socialloginsupport@xecurify.com