Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jsumners/nodebb-plugin-sso-discord-alt


https://github.com/jsumners/nodebb-plugin-sso-discord-alt

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

# NodeBB Discord OAuth2 SSO

This plugin for [NodeBB](https://github.com/NodeBB/NodeBB/) provides a way to register/authenticate users against [Discord](https://discord.com/). When enabled, and configured properly, there will be a
[Discord icon](https://fontawesome.com/v6.0/icons/discord?s=brands) 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](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](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](http://jsumners.mit-license.org/)