[nodebb-plugin-sso-nextcloud] Nextcloud OAuth2
-
This is my first "plugin" based entirely on SSO OAUTH from @julianlam
I only tweaked for use with Nextcloud as OAuth provider.
Regards
-
Hi,
any hint about that error? I'm new with oauth...2019-12-28T16:22:30.805Z [4567/58] - error: [authentication] TypeError: Cannot read property 'useAuthorizationHeaderforGET' of undefined at Object.OAuth.getStrategy [as method] (/usr/src/app/node_modules/nodebb-plugin-sso-nextcloud/library.js:115:22) at /usr/src/app/src/plugins/hooks.js:121:29 at /usr/src/app/node_modules/async/dist/async.js:1635:13 at replenish (/usr/src/app/node_modules/async/dist/async.js:444:21) at /usr/src/app/node_modules/async/dist/async.js:449:13 at eachOfLimit$1 (/usr/src/app/node_modules/async/dist/async.js:475:34) at awaitable(eachOfLimit$1) (/usr/src/app/node_modules/async/dist/async.js:208:32) at eachOfSeries (/usr/src/app/node_modules/async/dist/async.js:662:16) at awaitable(eachOfSeries) (/usr/src/app/node_modules/async/dist/async.js:208:32) at Object.reduce (/usr/src/app/node_modules/async/dist/async.js:1634:16)
-
Hi @Normando ,
still the same error.2019-12-30T14:17:45.061Z [4567/92] - error: [authentication] TypeError: Cannot read property 'useAuthorizationHeaderforGET' of undefined at Object.OAuth.getStrategy [as method] (/usr/src/app/node_modules/nodebb-plugin-sso-nextcloud/library.js:115:22) at /usr/src/app/src/plugins/hooks.js:121:29 at /usr/src/app/node_modules/async/dist/async.js:1635:13 at replenish (/usr/src/app/node_modules/async/dist/async.js:444:21) at /usr/src/app/node_modules/async/dist/async.js:449:13 at eachOfLimit$1 (/usr/src/app/node_modules/async/dist/async.js:475:34) at awaitable(eachOfLimit$1) (/usr/src/app/node_modules/async/dist/async.js:208:32) at eachOfSeries (/usr/src/app/node_modules/async/dist/async.js:662:16) at awaitable(eachOfSeries) (/usr/src/app/node_modules/async/dist/async.js:208:32) at Object.reduce (/usr/src/app/node_modules/async/dist/async.js:1634:16)
Copyright © 2024 NodeBB | Contributors