README
This is a fork from https://github.com/julianlam/nodebb-plugin-sso-oauth
Difference from nodebb-plugin-sso-oauth
All settings are being set in a config file (nodebb/sso-config.json
). It also parses the id from the jwt token (field name needs to be set in sso-config.json
), so unless you're using jwt you need to update the behaviour of the OAuth.getUidFromToken
in library.js:230
.
How to Adapt
- Copy the sample
sso-config-sample.json
intonodebb/sso-config.json
. - Update
sso-config.json
accordingly. - Activate this plugin from the plugins page
- Restart your NodeBB
- Let NodeBB take care of the rest
Trouble?
Find us on the community forums!