Tutorials
01/07/2026
Configuration Guide Configuration Guide for Discord Login
Guide to Configuring Discord Login (Vietnamese)
This document guides you on how to create and configure a Discord application to enable the Discord login feature on your website.
Step 1: Create a new application on Discord
- Visit the page Discord Developer Portal and log in with your Discord account.
- Click the New Application (New Application) button in the top right corner.
- Enter a name for the application (e.g.,
ZTruyen Login), agree to Discord's terms, and click Create (Create).
Step 2: Get Client ID and Client Secret
- After creating the application, you will be automatically redirected to its management page (section General Information).
- Here, you can upload an App Icon and enter a short description if desired. (Discord does not require complex brand verification like Google, so you can set any avatar you like).
- Go to OAuth2 in the left menu list.
- On the OAuth2 page, you will see the code Client ID (or Application ID). Please copy this code.
- Right below the Client ID section, click the button Reset Secret then click Yes, do it! to generate and copy the code Client Secret. Note: Please save this Client Secret carefully as it is only displayed once.
Step 3: Configure Redirect URI
- Still on the page OAuth2, find the section Redirects.
- Click the button Add Redirect.
- Enter the Callback URL to receive login data provided by the WordPress Plugin.
Example:
https://quangtuyen.vn/wp-login.php?loginSocial=discord - Click the button Save Changes (Save changes) green button appears on the bottom bar of the screen.
- Enter the code pair Client ID and Client Secret you just saved into the Plugin configuration page on your WordPress website to complete the integration.
Discord OAuth 2.0 Setup Guide (English)
This document provides step-by-step instructions to create and configure a Discord Application to enable Discord Sign-In on your website.
Step 1: Create a New Discord Application
- Go to the Discord Developer Portal and log in with your Discord account.
- Click the New Application button at the top right corner.
- Enter a name for your app (e.g.,
ZTruyen Login), agree to Discord’s Developer Terms, and click Create.
Step 2: Retrieve Client ID and Client Secret
- Once the application is created, you will be redirected to the General Information page.
- Here, you can upload an App Icon and write a short description if you wish. (Discord does not require rigorous brand verification like Google, so you can freely customize this).
- Navigate to the OAuth2 tab from the left sidebar menu.
- On the OAuth2 page, locate the Client ID (or Application ID). Copy this code.
- Below the Client ID, click the Reset Secret button, then click Yes, do it! to generate and copy your Client Secret. Save it securely, as it will only be shown once.
Step 3: Configure Redirect URI
- Still on the OAuth2 page, locate the Redirects section.
- Click the Add Redirect button.
- Enter the login Callback URL provided by your WordPress Discord login plugin.
Example:
https://quangtuyen.vn/wp-login.php?loginSocial=discord - Click the green Save Changes button that appears at the bottom banner of the page.
- Paste the copied Client ID and Client Secret into your WordPress website plugin configuration settings to complete the integration.