I get this error when a user attempts to log in via facebook. My application uses express.
FacebookTokenError: Error validating client secret.
at Strategy.parseErrorResponse (/pathtomyapp/node_modules/passport-facebook/lib/strategy.js:198:12)
at Strategy.OAuth2Strategy._createOAuthError (/pathtomyapp/node_modules/passport-facebook/node_modules/passport-oauth2/lib/strategy.js:345:16)
at /pathtomyapp/node_modules/passport-facebook/node_modules/passport-oauth2/lib/strategy.js:171:43
at /pathtomyapp/node_modules/passport-facebook/node_modules/passport-oauth2/node_modules/oauth/lib/oauth2.js:177:18
at passBackControl (/pathtomyapp/node_modules/passport-facebook/node_modules/passport-oauth2/node_modules/oauth/lib/oauth2.js:124:9)
at IncomingMessage.<anonymous> (/pathtomyapp/node_modules/passport-facebook/node_modules/passport-oauth2/node_modules/oauth/lib/oauth2.js:143:7)
at IncomingMessage.EventEmitter.emit (events.js:117:20)
at _stream_readable.js:920:16
at process._tickCallback (node.js:415:13)
What is causing this? How do I fix it?