DiscordSRVOAuth
Allow players to link their Discord account via Discord OAuth2
Quick challenge
How far can you run before the mobs catch you?
Rotate your phone
Dino Mine is ready when your screen is landscape.
Minecraft check
Confirm your run
Complete the quick check to get your code.
Your code
Expires in 5 hours
DiscordSRVOAuth
Usage
1. Download the plugin 2. Upload the plugin to your Minecraft Server (make sure it has DiscordSRV) 3. Make sure the port is open and not used 4. Make sure the URL is valid
Setting up Discord values
Everything is being done within Discord application's settings > OAuth2
Values
Copy over the Client ID & Client Secret to the config. Then you would need to configure Redirects. It must be what you have in the config. An example is shown below

Setting up HTTPS
Please see at GitHub README