0.3.6 • Published 8 years ago
nodebb-plugin-jwt-oauth2 v0.3.6
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.jsonintonodebb/sso-config.json. - Update
sso-config.jsonaccordingly. - Activate this plugin from the plugins page
- Restart your NodeBB
- Let NodeBB take care of the rest
Trouble?
Find us on the community forums!