[Solved] Facebook SSO plugin error
-
I get this error when trying to login using the facebook auth plugin:
/home/ubuntu/nodebb/node_modules/redis/index.js:535
throw err;
^
ReferenceError: user is not defined
at /home/ubuntu/nodebb/node_modules/nodebb-plugin-sso-facebook/library.js:71:5
at /home/ubuntu/nodebb/node_modules/nodebb-plugin-sso-facebook/library.js:97:4
at /home/ubuntu/nodebb/src/database/redis.js:258:4
at /home/ubuntu/nodebb/src/database/redis.js:274:4
at try_callback (/home/ubuntu/nodebb/node_modules/redis/index.js:532:9)
at RedisClient.return_reply (/home/ubuntu/nodebb/node_modules/redis/index.js:614:13)
at ReplyParser.<anonymous> (/home/ubuntu/nodebb/node_modules/redis/index.js:266:14)
at ReplyParser.EventEmitter.emit (events.js:95:17)
at ReplyParser.send_reply (/home/ubuntu/nodebb/node_modules/redis/lib/parser/javascript.js:300:10)
at ReplyParser.execute (/home/ubuntu/nodebb/node_modules/redis/lib/parser/javascript.js:211:22) -
Getting similar error with the twitter plugin now:
/home/ubuntu/nodebb/node_modules/redis/index.js:535
throw err;
^
ReferenceError: user is not defined
at /home/ubuntu/nodebb/node_modules/nodebb-plugin-sso-twitter/library.js:62:5
at /home/ubuntu/nodebb/node_modules/nodebb-plugin-sso-twitter/library.js:92:4
at /home/ubuntu/nodebb/src/database/redis.js:258:4
at /home/ubuntu/nodebb/src/database/redis.js:274:4
at try_callback (/home/ubuntu/nodebb/node_modules/redis/index.js:532:9)
at RedisClient.return_reply (/home/ubuntu/nodebb/node_modules/redis/index.js:614:13)
at ReplyParser.<anonymous> (/home/ubuntu/nodebb/node_modules/redis/index.js:266:14)
at ReplyParser.EventEmitter.emit (events.js:95:17)
at ReplyParser.send_reply (/home/ubuntu/nodebb/node_modules/redis/lib/parser/javascript.js:300:10)
at ReplyParser.execute (/home/ubuntu/nodebb/node_modules/redis/lib/parser/javascript.js:211:22)