NodeBB Plugin that allows users to login/register via any configured OAuth provider.
5df4097aa0
Removes the user's oAuthId-to-uid mapping from Redis upon user deletion. This fixes an issue where OAuth services could not link to a user if a user account was deleted and then re-created. |
||
---|---|---|
templates/admin/plugins | ||
.gitattributes | ||
.gitignore | ||
.npmignore | ||
library.js | ||
LICENSE | ||
package.json | ||
plugin.json | ||
README.md |
NodeBB OAuth SSO
NodeBB Plugin that allows users to login/register via any configured OAuth provider. Please note that this is not a complete plugin, but merely a skeleton with which you can create your own OAuth SSO plugin for NodeBB (and hopefully share it with others!)
How to Adapt
- Fork this plugin
- Activate it in the plugins page
- Restart your NodeBB
- Fill in the proper information in the "Generic OAuth" page
- Hit "Save" and try to log in with the new OAuth Provider (from
/login
) - Update profile information (around line 100 of
library.js
) with information from the user API call - Let NodeBB take care of the rest
Trouble?
Find us on the community forums!