File size: 2,170 Bytes
e438a02 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 |
# ⚙ 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>)
|