@awole20 wrote:
By popular demand, I’ve created a plugin to allow users to log in via Discord.
You can find the plugin here: https://github.com/featheredtoast/discourse-plugin-discord-auth
After installing the plugin,
- Generate the application here, and copy the Client ID and Client Secret.
- Add the your website to the
REDIRECT URI(S)
using
https://example.com/auth/discord/callback
(replacing the https with http and example.com with your full qualified domain/subdomain)- Update the plugin settings in the Admin > Settings area with the Client ID and Client Secret.
Some under the hood notes for those curious:
- Omniauth provided by https://github.com/adaoraul/omniauth-discord - using 0.1.2 - The next version, 0.1.3, defaults to an unconfigurable scope without email. This will be fixed (and configurable) in the next version, so we can get both identity/username and the email.
- No fa-discord icon makes me sad. This plugin uses a generic gamepad icon instead for now.
Special thanks to @cpradio for providing a great starting point for this via the LinkedIn Oauth2 plugin.
Posts: 6
Participants: 2