Twitter Api returning Invalid or expired token

Hi, I am trying to use Auth0 with twitter api using nodejs. What I did:

  1. Setup up Twitter connect, tried it. Twitter user was added successfully to the Auth0.
  2. I retrieved use profile / identity by calling POST /oauth/token/
  3. I retrieved access_token (.identities[0].access_token)
  4. I’ve used this access_token to call “”,


            var options = {
                method: "GET",
                url: "",
                headers: {
                    Authorization: `Bearer ${myUser.identities[0].access_token}`,

            request(options, function (error, response, body) {

I am getting error {“errors”:[{“code”:89,“message”:“Invalid or expired token.”}]}. What am I doing wrong?

PS: one thing which seems odd that according to twitter the bearer token should look like something like

in my case it looks more like 18504007-jgQkuLFzwEd

I’m running into this myself - although trying to hit v2 endpoints. Anyone got a solution?