向Twitter API发出Oauth2请求

ann*_*123 5 javascript twitter node.js oauth-2.0 axios

更新的问题:我想使用oauth2请求在NodeJs中对用户进行身份验证,但是我找不到任何文章可以在网上进行。

通常是Twitter,大多数网络上的人都使用oauth 1进行身份验证,因为我不想拥有快速的会话中间件,而且我很好奇要了解当用户没有护照策略时如何使用oauth对用户进行身份验证等。

Can someone please help me in figuring out how we can authenticate user in twitter using their docs (with code and possibly axios)?

link for their docs