Skip to content

TimeZynk/nodebb-plugin-jwt-oauth2

 
 

Repository files navigation

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

  1. Copy the sample sso-config-sample.json into nodebb/sso-config.json.
  2. Update sso-config.json accordingly.
  3. Activate this plugin from the plugins page
  4. Restart your NodeBB
  5. Let NodeBB take care of the rest

Trouble?

Find us on the community forums!

About

NodeBB Plugin that allows users to login/register via any configured OAuth provider.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%