Title: SSO OAuth for Discord by path digital
Author: path digital
Published: <strong>August 26, 2021</strong>
Last modified: November 5, 2023

---

Search plugins

![](https://ps.w.org/sso-oauth-discord-by-path-digital/assets/banner-772x250.png?
rev=2589779)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/sso-oauth-discord-by-path-digital/assets/icon.svg?rev=2588926)

# SSO OAuth for Discord by path digital

 By [path digital](https://profiles.wordpress.org/pathdigital/)

[Download](https://downloads.wordpress.org/plugin/sso-oauth-discord-by-path-digital.3.1.3.zip)

 * [Details](https://wordpress.org/plugins/sso-oauth-discord-by-path-digital/#description)
 * [Reviews](https://wordpress.org/plugins/sso-oauth-discord-by-path-digital/#reviews)
 *  [Installation](https://wordpress.org/plugins/sso-oauth-discord-by-path-digital/#installation)
 * [Development](https://wordpress.org/plugins/sso-oauth-discord-by-path-digital/#developers)

 [Support](https://wordpress.org/support/plugin/sso-oauth-discord-by-path-digital/)

## Description

SSO OAuth for Discord by path digital allows you to hide your website content with
Discord SSO and make it only available for your server members.

## Screenshots

[⌊OAuth2 settings⌉⌊OAuth2 settings⌉[

OAuth2 settings

[⌊Bot settings⌉⌊Bot settings⌉[

Bot settings

[⌊General settings⌉⌊General settings⌉[

General settings

[⌊Custom login page settings⌉⌊Custom login page settings⌉[

Custom login page settings

[⌊Embed on any page⌉⌊Embed on any page⌉[

Embed on any page

[⌊Custom login page⌉⌊Custom login page⌉[

Custom login page

[⌊Login button on a page⌉⌊Login button on a page⌉[

Login button on a page

[⌊Channel embeds via webhook⌉⌊Channel embeds via webhook⌉[

Channel embeds via webhook

[⌊Maintenance mode settings⌉⌊Maintenance mode settings⌉[

Maintenance mode settings

[⌊Maintenance page⌉⌊Maintenance page⌉[

Maintenance page

[⌊Tools⌉⌊Tools⌉[

Tools

[⌊Manage members⌉⌊Manage members⌉[

Manage members

## Installation

#### From your WordPress dashboard

 1. Visit `Plugins -> Add New`
 2. Search for `SSO OAuth for Discord` and Install the plugin by path digital
 3. Activate the plugin from your Plugins page

#### From WordPress.org

 1. Download SSO OAuth for Discord by path digital
 2. Unzip and upload the folder directory to your `/wp-content/plugins/` directory
 3. Activate the plugin from your Plugins page

#### Once Activated

 1. Go to `Discord OAuth -> OAuth2 Settings`, and select the login page you want to
    show the login button
 2. Create your Discord Application from [Applications](https://discord.com/developers/applications)
    with the `Redirect URL` you copied from `Configure` page
 3. Enter Discord Application data in to the `Configuration` page and save settings
 4. Visit your website now, if you are not logged in, the website will ask you to login

## FAQ

### How can I setup a Discord application?

Visit [https://discord.com/developers/applications/](https://discord.com/developers/applications/)
and add a New Application.

### From where I can get the Client ID and Client Secret?

Go to your [applications](https://discord.com/developers/applications/) and click
on the newly created application. Click the OAuth2 tab in the navigation panel, 
where you can copy both the Client ID and Client Secret.

### From where I can get the Token for the Bot?

Click on the newly created application for OAuth2 from [applications](https://discord.com/developers/applications/).
Click the Bot tab in the navigation panel and Add Bot to get the Token.

### How to get the server ID from Discord

Login to your Discord account, Go to User Settings by clicking on the gear icon 
next to your username. Go to Advanced Settings in App Settings section and turn 
ON the Developer Mode. Close the settings page and go to your Discord Dashboard,
right click on any server name and Copy ID.

## Reviews

![](https://secure.gravatar.com/avatar/7f833709f6ccf82512d25daf68c69f0c7c2ce7d7a1bc95adeee13f1cfb063002?
s=60&d=retro&r=g)

### 󠀁[Fabulous plugin in development](https://wordpress.org/support/topic/fabulous-plugin-in-development/)󠁿

 [hannibal09](https://profiles.wordpress.org/hannibal09/) January 30, 2023

Great plugin to start with. Most of things working fine. Few of feedback to improve
upon When someone log in using Discord but not able to authorised due to server 
or other rules, he can’t bale to access back general pages as well which were not
put behind access system. If the person can be logged out immediately after failed
login, this can be resolved. Post button becomes unclickable. if person try to access
to post, he should be taken to login page instead of disabling post buttons

![](https://secure.gravatar.com/avatar/03cd379f18a4753b9b7b7dd67a5d4f8e9df02a2dd45e32dd02b2026b28a0288a?
s=60&d=retro&r=g)

### 󠀁[Great Plugin with Great Support!](https://wordpress.org/support/topic/great-plugin-with-great-support-290/)󠁿

 [pacted](https://profiles.wordpress.org/pacted/) November 21, 2022

I am looking forward to the future of this plugin! It is developed by a great team
that is willing to help you if you encounter issues. Thank you to Tarik and Madhushankarox
for resolving the issues I had so quickly.

![](https://secure.gravatar.com/avatar/07a66ad8438c070599a7e4d8470cecbd6c10dc0ae94235220c1ae37c12afc23c?
s=60&d=retro&r=g)

### 󠀁[best discord plugin](https://wordpress.org/support/topic/best-discord-plugin/)󠁿

 [Anonymous User 179266](https://profiles.wordpress.org/anonymized-179266/) September
28, 2022

top notch plugin for discord authentication! Good to see that it is constantly updated.

![](https://secure.gravatar.com/avatar/2d609e5ee9082c936c25f2a0300957efbc4e2473d2b2a56623481a979cbe696d?
s=60&d=retro&r=g)

### 󠀁[Best free discord plugin](https://wordpress.org/support/topic/best-free-discord-plugin/)󠁿

 [baldone69](https://profiles.wordpress.org/baldone69/) September 23, 2022

The only free plugin which can be helpful for your project 10/10 Also the support
is super kind and efficent! Baldo

![](https://secure.gravatar.com/avatar/31b860980468b176ffd64cc9fa37313ca52f7a1ed5fbb9085ce7a5b36d840349?
s=60&d=retro&r=g)

### 󠀁[Nice but big room for improvement](https://wordpress.org/support/topic/nice-but-big-room-for-improvement/)󠁿

 [paulieee](https://profiles.wordpress.org/paulieee/) September 22, 2022

This plugin can only display the page after connecting to discord. But the limitation
to only some pages does not work, so both logged in and logged out can see everything.
Adding “guilds.join” to “Scope” in settings doesn’t work. Also missing is my profile
page, logout button and database of logged in users with all information. This plugin
would be great if: 1. The developers created a profile page with all the information
about the logged-in user. (discord profile picture, role on our server, etc.) 2.
The developers created a page for the administrator, where there would be all users
who logged in and all their information (ID, discord profile picture, role on our
server). Ability to ban users, change their roles, etc.) 3. Developers added a logout
button This plugin is well on its way and if it adds these basic features it will
be an amazing plugin.

![](https://secure.gravatar.com/avatar/0059881157070adf0bd12b4305d35095ecd4ba24ab1524f39f693f5de412b76c?
s=60&d=retro&r=g)

### 󠀁[Nice attempt/temp solution](https://wordpress.org/support/topic/nice-attempt-temp-solution/)󠁿

 [drewbllc](https://profiles.wordpress.org/drewbllc/) February 11, 2022

This plugin really only does one thing and this is let users gain access to the 
site. It doesn’t allow it to work as a login for wp for itself, so users have to
loggin 2x which is pointless, unless I want to lock the ENTIRE site down, which 
is the next thing.. You can’t select what pages you want locked down. You cant specify
multiple roles. You can’t use it to manage users based on certain parameters (add
them to server if not in it, etc) Lastly imo is the design. Very ugly to have just
a huge block of space on a webpage with a login button added. Would make much better
functionality if a paywall (not paid, just the style of page) type thing came up,
blurred out the content/added no scroll/no click, and then add the button, that 
would be much better. Appreciate what he has done of course but I do feel it’s as
basic as it can be right now with much room for improvement, and the author has 
already said he IS NOT doing customization.

 [ Read all 8 reviews ](https://wordpress.org/support/plugin/sso-oauth-discord-by-path-digital/reviews/)

## Contributors & Developers

“SSO OAuth for Discord by path digital” is open source software. The following people
have contributed to this plugin.

Contributors

 *   [ path digital ](https://profiles.wordpress.org/pathdigital/)

[Translate “SSO OAuth for Discord by path digital” into your language.](https://translate.wordpress.org/projects/wp-plugins/sso-oauth-discord-by-path-digital)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/sso-oauth-discord-by-path-digital/),
check out the [SVN repository](https://plugins.svn.wordpress.org/sso-oauth-discord-by-path-digital/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/sso-oauth-discord-by-path-digital/)
by [RSS](https://plugins.trac.wordpress.org/log/sso-oauth-discord-by-path-digital/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 3.1.3

 * Bug fixes

#### 3.1.2

 * Bug fixes

#### 3.1.1

 * Fixed typo, “maintenance” to “maintainance” in UI.

#### 3.1.0

 * Added admin option to view all servers the user is in
 * Bug fixes

#### 3.0.5

 * Bug fixes

#### 3.0.4

 * Bug fixes

#### 3.0.3

 * Bug fixes

#### 3.0.2

 * Bug fixes

#### 3.0.1

 * Bug fixes

#### 3.0.0

 * Added maintenance mode page
 * Added option to view active user sessions and manage users
 * Removed menu items of pages with minimum user role for people that don’t have
   the minimum role
 * Added shortcode to display a logout button

#### 2.5.4

 * Bug fixes

#### 2.5.3

 * Bug fixes

#### 2.5.2

 * Minor code enhancements

#### 2.5.1

 * Bug fixes

#### 2.5.0

 * Added option to whitelist pages for specific user role(s)

#### 2.4.0

 * Added option to whitelist user roles independant from minimum role
 * Minor code enhancements

#### 2.3.1

 * Bug fixes

#### 2.3.0

 * Added option to clear all the active login sessions
 * Updated Discord embeds to post whitelisted logins

#### 2.2.0

 * Added option to set login errors
 * Added option to post failed login attempts embeds on a Discord channel via a 
   Webhook
 * Added option to set the redirect page after a successful login

#### 2.1.1

 * Bug fixes

#### 2.1.0

 * Updated option to hide menus from unauthenticated users
 * Updated option to hide widgets from unauthenticated users

#### 2.0.0

 * Added option to block users by Discord ID
 * Added option to allow user to view specific pages and posts
 * Added option to add a custom login page
 * Added option to post successful login embeds on a Discord channel via a Webhook
 * Disabled admin ajax for non-logged users
 * Minor code enhancements

#### 1.5.1

 * Bug fixes

#### 1.5.0

 * Added option to blacklist servers

#### 1.4.2

 * Bug fixes

#### 1.4.1

 * Bug fixes

#### 1.4.0

 * Added option to set the session duration
 * Moved the login error message to the login page
 * Security enhancements

#### 1.3.1

 * Bug fixes

#### 1.3.0

 * Added custom login button styles support
 * Added option to show/hide menus in login page
 * Added option to show/hide widgets in login page
 * Added functionality to auto create and assign the login page

#### 1.2.1

 * Added server name next to the Server ID in Bot Settings page
 * Added settings link to plugin action links
 * Minor visual improvements to admin pages

#### 1.2.0

 * Added user role validation support
 * Added the ability to enable / disable server validation even if the server list
   is not empty

#### 1.1.0

 * Bug fixes
 * Skiped server validation for 5 minutes to limit Discord API calls

#### 1.0.2

 * Bug fixes and patches

#### 1.0.1

 * Initial Release

## Meta

 *  Version **3.1.3**
 *  Last updated **3 years ago**
 *  Active installations **10+**
 *  WordPress version ** 4.0 or higher **
 *  Tested up to **6.3.8**
 *  PHP version ** 5.4 or higher **
 * Tags
 * [discord](https://wordpress.org/plugins/tags/discord/)[Discord Login](https://wordpress.org/plugins/tags/discord-login/)
   [login](https://wordpress.org/plugins/tags/login/)[oauth](https://wordpress.org/plugins/tags/oauth/)
   [sso](https://wordpress.org/plugins/tags/sso/)
 *  [Advanced View](https://wordpress.org/plugins/sso-oauth-discord-by-path-digital/advanced/)

## Ratings

 4.8 out of 5 stars.

 *  [  8 5-star reviews     ](https://wordpress.org/support/plugin/sso-oauth-discord-by-path-digital/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/sso-oauth-discord-by-path-digital/reviews/?filter=4)
 *  [  1 3-star review     ](https://wordpress.org/support/plugin/sso-oauth-discord-by-path-digital/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/sso-oauth-discord-by-path-digital/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/sso-oauth-discord-by-path-digital/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/sso-oauth-discord-by-path-digital/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/sso-oauth-discord-by-path-digital/reviews/)

## Contributors

 *   [ path digital ](https://profiles.wordpress.org/pathdigital/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/sso-oauth-discord-by-path-digital/)