twitter-client-coredentials Sample code for the Twitter OAuth2.0 Client Credentials Grant. Here is a sample code for Authorization Code Grant. References https://developer.twitter.com/en/docs/authentication/oauth-2-0/application-only https://www.npmjs.com/package/openid-client