NodeBB Plugin for OAuth2 with jwt tokens.

Usage no npm install needed!

<script type="module">
  import nodebbPluginMatrForumOauth2 from '';


This is a fork from

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


Find us on the community forums!