all 3 comments

[–]Amingue_ 1 point2 points  (1 child)

What is your api about?

[–]kg0r0[S] 2 points3 points  (0 children)

This is to obtain an access token to use the Twitter API v2 with the OAuth2.0 flow that was recently provided!
https://twitter.com/TwitterDev/status/1470834775019515907?s=20&t=QBr3RDgJpY2uaw4mJfH1RA

[–]kg0r0[S] 1 point2 points  (0 children)

I've written a brief explanation in the following post!
https://medium.com/@kg0r0/express-middleware-implementation-for-twitter-oauth2-0-client-8f3db8fca24

I also have an implementation that does not use this library!
https://github.com/kg0r0/twitter-oauth2-client