NodeBB Plugins
  • #1

    I made a linkedin auth plugin for nodebb. Ripped off most of @julian's code from his google auth plugin and made it work for linkedin.

    npm install nodebb-plugin-sso-linkedin

    It's OAuth 1.0 currently. I'm planning to make it work for 2.0 as well...or maybe just make a separate plugin for 2.0...we'll see.

    Enjoy and let me know if anyone runs into any issues.

  • GNU/Linux

    Hey @mootzville, where's the link to your GitHub/npm? 😄

    Edit: Found it!

  • #3

    Hi there
    Thank's for this plugins,
    Unfortunately I'm not able to get it working under nodebb 0.7 (I've setup the other social auth with no problem)
    did I missed something ?
    Here is the log from nodebb

    16/6 22:10 [28958] - error: [plugins] Error executing 'static:app.load' in plugin 'nodebb-plugin-sso-linkedin-oauth2'
    16/6 22:10 [28958] - error:  TypeError: Cannot read property 'buildHeader' of undefined
        at Object.LinkedIn.init [as method] (/usr/local/share/nodebb/node_modules/nodebb-plugin-sso-linkedin-oauth2/library.js:30:58)
        at /usr/local/share/nodebb/src/plugins/hooks.js:133:14
        at /usr/local/share/nodebb/node_modules/async/lib/async.js:122:13
        at _each (/usr/local/share/nodebb/node_modules/async/lib/async.js:46:13)
        at Object.async.each (/usr/local/share/nodebb/node_modules/async/lib/async.js:121:9)
        at fireStaticHook (/usr/local/share/nodebb/src/plugins/hooks.js:122:9)
        at Object.Plugins.fireHook (/usr/local/share/nodebb/src/plugins/hooks.js:68:5)
        at Object.Plugins.reloadRoutes (/usr/local/share/nodebb/src/plugins.js:129:11)
        at module.exports (/usr/local/share/nodebb/src/routes/index.js:166:10)
        at /usr/local/share/nodebb/src/webserver.js:107:4
    16/6 22:10 [28958] - info: NodeBB Ready
    16/6 22:10 [28958] - info: Enabling 'trust proxy'
    16/6 22:10 [28958] - info: NodeBB is now listening on:

    Any ideas ?

    thank you for your help

  • #4

    @mootzville Hi. Is it possible to update this plugin to work with 1.17 ?

Suggested Topics

| | | |