Skip to content
This repository has been archived by the owner on May 28, 2024. It is now read-only.

ariastel/nodebb-plugin-sso-discord-alt

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NodeBB Discord OAuth2 SSO

This plugin for NodeBB provides a way to register/authenticate users against Discord. When enabled, and configured properly, there will be a Pied Piper icon available on the login screen. Click that icon to authenticate against Discord.

Config

  1. Create an application -- https://discordapp.com/developers/applications/me
  2. Ensure the application's URI ends with /auth/discord/callback
  3. Fill in the id and secret for the application via the NodeBB admin control panel (under "Social Authentication")

Acknowledgements

This plugin is based on the excellent skeleton at https://github.com/julianlam/nodebb-plugin-sso-oauth. It is further based on the nodebb-plugin-sso-google by the same author. Without these plugins to learn from this one would not exist (at least not from me).

I authored this plugin prior to learning that https://github.com/NathanSMB/nodebb-plugin-sso-discord exists. When I did a search for such a plugin via NodeBB's plugin search in the control panel I did not find one. I'm publishing this one regardless, because they differ in some respects. "Your mileage may vary."

License

MIT License

Languages

  • JavaScript 81.7%
  • Smarty 18.3%