jaredhanson/passport-twitter

Default user profile url won't work for new Twitter applications

LaurentZuijdwijk opened this issue · 0 comments

New twitter applications only support the V2 API's so the default user profile request and with it the authentication flow fails when implementing from the official example.

It would be easy to implement the V2 endpoint: https://api.twitter.com/2/users/me

I created a PR with better documentation/typing for the Strategy constructor, so at least this will be a little more obvious.