Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Unknown authentication strategy ldap
Unknown authentication strategy "ldap" {"stack":"Error: Unknown authentication strategy \"ldap\"\n at attempt (/mnt/Data/Sources/git/NodeBB/node_modules/passport/lib/middleware/authenticate.js:186:37)\n at authenticate (/mnt/Data/Sources/git/NodeBB/node_modules/passport/lib/middleware/authenticate.js:362:7)\n at /mnt/Data/Sources/git/NodeBB/src/routes/authentication.js:73:9\n at Layer.handle [as handle_request] (/mnt/Data/Sources/git/NodeBB/node_modules/express/lib/router/layer.js:95:5)\n at next (/mnt/Data/Sources/git/NodeBB/node_modules/express/lib/router/route.js:137:13)\n at csrf (/mnt/Data/Sources/git/NodeBB/node_modules/csurf/index.js:117:5)\n at Layer.handle [as handle_request] (/mnt/Data/Sources/git/NodeBB/node_modules/express/lib/router/layer.js:95:5)\n at next (/mnt/Data/Sources/git/NodeBB/node_modules/express/lib/router/route.js:137:13)\n at Route.dispatch (/mnt/Data/Sources/git/NodeBB/node_modules/express/lib/router/route.js:112:3)\n at Layer.handle [as handle_request] (/mnt/Data/Sources/git/NodeBB/node_modules/express/lib/router/layer.js:95:5)"}
2019-02-11T17:21:31.723Z [4567/643] - error: /auth/ldap
Unknown authentication strategy "ldap" {"stack":"Error: Unknown authentication strategy \"ldap\"\n at attempt (/mnt/Data/Sources/git/NodeBB/node_modules/passport/lib/middleware/authenticate.js:186:37)\n at authenticate (/mnt/Data/Sources/git/NodeBB/node_modules/passport/lib/middleware/authenticate.js:362:7)\n at /mnt/Data/Sources/git/NodeBB/src/routes/authentication.js:73:9\n at Layer.handle [as handle_request] (/mnt/Data/Sources/git/NodeBB/node_modules/express/lib/router/layer.js:95:5)\n at next (/mnt/Data/Sources/git/NodeBB/node_modules/express/lib/router/route.js:137:13)\n at csrf (/mnt/Data/Sources/git/NodeBB/node_modules/csurf/index.js:117:5)\n at Layer.handle [as handle_request] (/mnt/Data/Sources/git/NodeBB/node_modules/express/lib/router/layer.js:95:5)\n at next (/mnt/Data/Sources/git/NodeBB/node_modules/express/lib/router/route.js:137:13)\n at Route.dispatch (/mnt/Data/Sources/git/NodeBB/node_modules/express/lib/router/route.js:112:3)\n at Layer.handle [as handle_request] (/mnt/Data/Sources/git/NodeBB/node_modules/express/lib/router/layer.js:95:5)"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment