Discord
1
Create a Discord Application
- Go to the Discord Developer Portal.
- Click on “New Application” and give it a name.
2
Configure OAuth2
- In your application settings, navigate to the “OAuth2” tab.
- Under “Redirects”, add the following URL:
yourdomain.com with your actual domain name where the application is hosted.3
Get Client ID and Secret
In the “OAuth2” tab, you will find your Client ID and Client Secret. Keep these values handy as you will need them in the next step.
4
Configure the application
Update your application’s configuration file (e.g., Replace
.env) with the following values:your_discord_client_id and your_discord_client_secret with the values you obtained from the Discord Developer Portal.GitHub
1
Create a GitHub OAuth App
- Go to the GitHub Developer Settings.
- Fill in the required fields, including the “Application name” and “Homepage URL”.
- Under “Authorization callback URL”, add the following URL:
yourdomain.com with your actual domain name where the application is hosted.2
Get Client ID and generate Client Secret
After creating the OAuth App, you will see your Client ID on the app’s page. To generate a Client Secret, click on “Generate a new client secret” and copy the generated value.
3
Configure the application
Update your application’s configuration file (e.g., Replace
.env) with the following values:your_github_client_id and your_github_client_secret with the values you obtained from the GitHub Developer Settings.