|
# ⚙ Setting up discord authentication |
|
|
|
{% hint style="info" %} |
|
Two-factor authentication, or 2FA, is a smart method to add an extra layer of protection to your Discord account by ensuring that only you can log in. |
|
{% endhint %} |
|
|
|
{% embed url="https://youtu.be/4wXkn4GG20E" %} |
|
|
|
1. To set up discord authenticator, Follow the discord developer link mentioned here. [https://discord.com/developers](https://discord.com/developers) |
|
|
|
![](<../.gitbook/assets/Untitled design (9).png>) |
|
|
|
2\. Click the new "Application" |
|
|
|
![](<../.gitbook/assets/Untitled design (1) (7).png>) |
|
|
|
3\. Name your application - We recommend using your company name and click "Create". |
|
|
|
![](<../.gitbook/assets/Untitled design (3) 4.png>) |
|
|
|
4\. Then upload your company logo. |
|
|
|
![](<../.gitbook/assets/Untitled design (3).png>) |
|
|
|
5\. Left side of the Dashboard click the OAuth2. |
|
|
|
![](<../.gitbook/assets/Untitled design (6) (5).png>) |
|
|
|
6\. Here copy the Client ID. |
|
|
|
![](<../.gitbook/assets/Untitled design (5) (7).png>) |
|
|
|
7\. Here paste your Client ID. |
|
|
|
![](<../.gitbook/assets/Untitled design (6).png>) |
|
|
|
|
|
|
|
8\. Here again copy the Client Secret from discord. |
|
|
|
![](<../.gitbook/assets/Untitled design (4) (10).png>) |
|
|
|
9\. Here paste the Client Secret. |
|
|
|
![](<../.gitbook/assets/Untitled design (8) (2).png>) |
|
|
|
|
|
|
|
10\. Click URL from the site and paste in Discord Developer. |
|
|
|
![](<../.gitbook/assets/Untitled design (9) (3).png>) |
|
|
|
|
|
|
|
11\. Click Add Redirect, Paste the URL here and Click save.  |
|
|
|
[https://auth-service-w34nvoxnwq-uc.a.run.app/api/v1/auth/discord/callback](https://auth-service-w34nvoxnwq-uc.a.run.app/api/v1/auth/discord/callback) |
|
|
|
![](<../.gitbook/assets/Untitled design (3) (5).png>) |
|
|
|
12\. Choose this option, If you want members to automatically join your server.  |
|
|
|
![](<../.gitbook/assets/Untitled design (2) (6).png>) |
|
|
|
13\. Copy your Server ID from Discord. |
|
|
|
![](<../.gitbook/assets/Untitled design (1) (10).png>) |
|
|
|
14\. Click the Torch Lab Icon. |
|
|
|
![](<../.gitbook/assets/Untitled design (12) (5).png>) |
|
|
|
15\. Copy your Server ID. |
|
|
|
![](<../.gitbook/assets/Untitled design (13) (4).png>) |
|
|
|
16\. Paste the Server ID and save details. |
|
|
|
![](<../.gitbook/assets/Untitled design (13).png>) |
|
|