-
Notifications
You must be signed in to change notification settings - Fork 1
Discord
Mubeen142 edited this page Jul 16, 2022
·
2 revisions
-
Go to Discord Developer Portal
-
Click on "New Application" and enter an Application Name and click save
-
Now open the newly made application, and go to the Oauth2 section like in the screenshot below
-
Add a new Redirect URL and enter the following url to redirect to
https://domain.com/auth/login/discord/redirect
replace with your domain -
Click Save and Copy your Client ID, to see your Client Secret, you must click on "Reset Secret"
-
Go to command-line and enter
nano /var/www/pterodactyl/.env
, paste in the following valuesDISCORD_CLIENT_ID= Enter ClientID
DISCORD_CLIENT_SECRET= Enter Client Secret
Save the file, and you're done.