• Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
v3.5.2 Latest
Buy Hosting

nodebb-plugin-sso-linkedin

Scheduled Pinned Locked Moved NodeBB Plugins
oauthlinkedinsso
4 Posts 4 Posters 2.6k Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • mootzvilleM Offline
    mootzvilleM Offline
    mootzville
    wrote on last edited by mootzville
    #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.

    1 Reply Last reply
    1
  • julianJ Offline
    julianJ Offline
    julian GNU/Linux
    wrote on last edited by julian
    #2

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

    Edit: Found it! https://github.com/mootzville/nodebb-plugin-sso-linkedin

    1 Reply Last reply
    0
  • Charly86C Offline
    Charly86C Offline
    Charly86
    wrote on last edited by
    #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: 0.0.0.0:4567
    
    

    Any ideas ?

    thank you for your help

    phenomlabP 1 Reply Last reply
    0
  • phenomlabP Offline
    phenomlabP Offline
    phenomlab
    replied to Charly86 on last edited by
    #4

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

    1 Reply Last reply
    0

Copyright © 2023 NodeBB | Contributors
  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development