Skip to content

Latest commit

 

History

History
38 lines (27 loc) · 1.75 KB

discord.md

File metadata and controls

38 lines (27 loc) · 1.75 KB
title description published date tags
Discord
Authentication Module
true
2019-09-15 02:39:23 UTC

Discord is a popular gaming communication tool. https://discordapp.com/

Setup

A) Create the application on Discord

  1. Browse the Discord Developer Portal. You'll need an existing account to proceed.
  2. Click on New Application and enter a name (e.g. Wiki). Click Create.
  3. Copy the Client ID and Client Secret values. We'll need them later.

B) Enable the Discord strategy in Wiki.js

  1. In the Administration Area of your wiki, click on Authentication in the left navigation.
  2. Click on Discord.
  3. Enter the Client ID and Client Secret values copied earlier.
  4. Enable the Self-registration option (unless you plan on authorizing users manually).
  5. Select the group new users should be assigned to when they login for the first time.
  6. Make sure the checkbox next to Discord in the list of strategies is checked. The text should now say that the strategy is active.
  7. Click Apply on the upper right of the page to save and apply the configuration.

C) Enter the OAuth2 settings on Discord

Going back to the Discord developer portal, you'll need to set the redirect URI. On the application page, click on OAuth2 in the left sidebar and add the callback redirect URI. This value can be found in Wiki.js under Configuration Reference, displayed below the settings of the Discord strategy.

Click the Save Changes button at the bottom of the page when done.

While optional, it's also recommended to set an Application Logo for easy identification by your end users.

{.align-abstopright}