Setup
Configure Discord authentication to require users to join your Discord server before accessing keys.
Create Discord Application
Go to the Discord Developer Portal
If you don't have a Discord account, create one - it's free!
Click "New Application" and give it a name (e.g., "Key System")
Configure OAuth2
Navigate to the "OAuth2" tab in your Discord application.
Add the following redirect URI:
https://api.junkie-development.de/api/session/discord/callback

Get Client Credentials
In the "OAuth2" tab, copy your Client ID and Client Secret.
Keep your Client Secret secure! Never share it publicly or commit it to version control.
Create Discord Bot
Navigate to the "Bot" tab in your Discord application.
Click "Add Bot" to create a bot for your application.
Copy the Bot Token (you may need to reset it first).

Last updated