# Twitter Auth0 Intergration as described in tutorial not working

**URL:** <https://community.auth0.com/t/twitter-auth0-intergration-as-described-in-tutorial-not-working/79955>\
**Category:** Get Help\
**Tags:** twitter\
**Created:** [March 15, 2022, 8:21pm UTC](https://community.auth0.com/t/twitter-auth0-intergration-as-described-in-tutorial-not-working/79955 "2022-03-15T20:21:15Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![sharonrlandis](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/sharonrlandis/32/35903_2.png) [@sharonrlandis](https://community.auth0.com/u/sharonrlandis)\
**Post date:** [March 15, 2022, 8:21pm UTC](https://community.auth0.com/t/twitter-auth0-intergration-as-described-in-tutorial-not-working/79955/1 "2022-03-15T20:21:15Z")

</div>

Hi,

I followed this tutorial: [How to Add a Twitter Social Connection in Auth0](https://community.auth0.com/t/how-to-add-a-twitter-social-connection-in-auth0/57011). When I tried the connection I get

```auto
{
  "error": "access_denied",
  "error_description": "InternalOAuthError: Could not authenticate you."
}

```

The twitter UI differs from the tutorial at enabling 3-legged OAuth, which is no longer an option. Also there is a choice of OAuth 2.0 and OAuth 1.0a, not in the video. I chose 1.0a.

Any suggestion are appreciated. Thanks

---

<div class="post-metadata">

**Author:** ![ty.frith](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ty.frith/32/58484_2.png) [@ty.frith](https://community.auth0.com/u/ty.frith)\
**Post date:** [March 16, 2022, 1:09am UTC](https://community.auth0.com/t/twitter-auth0-intergration-as-described-in-tutorial-not-working/79955/3 "2022-03-16T01:09:56Z")

</div>

Hi there @sharonrlandis, welcome to the community!

Thanks for pointing this out - We try our best to keep everything up to date 😕

I’ve attempted to enable this myself and am currently getting an error along the lines of:

```auto
{
  "error": "invalid_request",
  "error_description": "You currently have Essential access which includes access to Twitter API v2 endpoints only. If you need access to this endpoint, you’ll need to apply for Elevated access via the Developer Portal. You can learn more here: https://developer.twitter.com/en/docs/twitter-api/getting-started/about-twitter-api#v2-access-leve"
}

```

I imagine the solution here would be to make sure I have the “elevated” access mentioned in the error… What happens if you toggle the app you created in Twitter to use OAuth 2.0 instead?

Let us know!

---

<div class="post-metadata">

**Author:** ![sharonrlandis](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/sharonrlandis/32/35903_2.png) [@sharonrlandis](https://community.auth0.com/u/sharonrlandis)\
**Post date:** [March 17, 2022, 12:13am UTC](https://community.auth0.com/t/twitter-auth0-intergration-as-described-in-tutorial-not-working/79955/4 "2022-03-17T00:13:04Z")

</div>

OAuth2 gets the same result.

Your error message gives better direction than mine. Any suggestions to track down what this means-  
“InternalOAuthError: Could not authenticate you.”

BTW, elevated access is “coming soon,” so not yet a solution. How do you suggest getting twitter sign in to work via Auth0?

---

<div class="post-metadata">

**Author:** ![ty.frith](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ty.frith/32/58484_2.png) [@ty.frith](https://community.auth0.com/u/ty.frith)\
**Post date:** [March 22, 2022, 1:18am UTC](https://community.auth0.com/t/twitter-auth0-intergration-as-described-in-tutorial-not-working/79955/5 "2022-03-22T01:18:52Z")

</div>

Hi @sharonrlandis following up on this! Have you had any success since your last post?

> [@sharonrlandis](#):
>
> Your error message gives better direction than mine. Any suggestions to track down what this means-  
> “InternalOAuthError: Could not authenticate you.”

I have not seen this error before personally, but the vast majority of time an error like this is due to a config related issue (typo, mismatch, etc.). Are you able to go back through on both the Auth0 and Twitter side to verify everything is correct? From within Auth0 and your Twitter connection there’s an option to test which you may find helpful in troubleshooting.

> [@sharonrlandis](#):
>
> BTW, elevated access is “coming soon,” so not yet a solution. How do you suggest getting twitter sign in to work via Auth0?

FWIW, I was able to apply for the elevated access and can confirm that after receiving said access the Twitter connection is functioning as expected. If the connection is successful when using the test option available in the connection itself, you should get redirected back to Auth0 and see a page like the following:

 ![Screen Shot 2022-03-21 at 6.16.37 PM](https://global.discourse-cdn.com/auth0/original/3X/1/d/1de2c2fb5b9f979c78c9dfd42914d2fb6476e023.png)

---

<div class="post-metadata">

**Author:** ![sharonrlandis](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/sharonrlandis/32/35903_2.png) [@sharonrlandis](https://community.auth0.com/u/sharonrlandis)\
**Post date:** [March 22, 2022, 2:13am UTC](https://community.auth0.com/t/twitter-auth0-intergration-as-described-in-tutorial-not-working/79955/6 "2022-03-22T02:13:14Z")

</div>

I regenerated the keys and got the same error you did. An improvement! I’ll apply for elevated access and see what happens.

---

<div class="post-metadata">

**Author:** ![ty.frith](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ty.frith/32/58484_2.png) [@ty.frith](https://community.auth0.com/u/ty.frith)\
**Post date:** [March 22, 2022, 7:03pm UTC](https://community.auth0.com/t/twitter-auth0-intergration-as-described-in-tutorial-not-working/79955/7 "2022-03-22T19:03:06Z")

</div>

Awesome! That’s good news - I received access almost immediately after applying and the error resolved the next login using the connection.

Let us know if the elevated access resolves the issue for you 😄

---

<div class="post-metadata">

**Author:** ![ty.frith](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ty.frith/32/58484_2.png) [@ty.frith](https://community.auth0.com/u/ty.frith)\
**Post date:** [April 6, 2022, 7:03pm UTC](https://community.auth0.com/t/twitter-auth0-intergration-as-described-in-tutorial-not-working/79955/8 "2022-04-06T19:03:18Z")

</div>

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.
