I keep getting this error when I added the twitter OAuth to my application. I currently have google OAuth which works fine, but adding twitter is causing the error. I don't see viable solution in all the previous posts on this error; can anyone help please? here is the code snippet for the twitter- it is the same as the google one.
passport.use(
new TwitterStrategy({
twitterclientID: keys.twitterclientID,
twitterclientSecret: keys.twitterclientSecret,
callbackURL: '/auth/twitter/callback',
proxy: true
}