WordPress User Restriction Based on User Presence in Discord Server

WordPress User Restriction Based on User Presence in Discord Server


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

miniorange img 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.
  • User Restriction in WordPress based on user present in Discord add bot in server
  • Copy and paste the Token into the Bot Token Key field.
  • discord wordpress integration bot token key user restriction
  • Copy the ID from your Discord server by right-clicking on the server name. In the Guild ID field, paste it.
  • paste the guild ID discord user restriction Discord user restriction guild ID and token
  • Select the following permissions in the URL generator section of the OAuth2 section.
  • User Restriction in WordPress based on user present in Discord URL generator
  • 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
  • User Restriction in WordPress based on user present in Discord paste the URL add bot in discord server User Restriction in WordPress based on user present in Discord

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.
  • User Restriction in WordPress based on user present in Discord user restricted to access
  • 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.
  • user allowed to access website if present in Discord channel
  • 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.
  • user automatically removed from website if removed fro discord server
  • 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

    Hello there!

    Need Help? We are right here!

    support
    Contact miniOrange Support
    success

    Thanks for your inquiry.

    If you dont hear from us within 24 hours, please feel free to send a follow up email to info@xecurify.com