# Checking account linking in Twitch Drops

**URL:** <https://discuss.dev.twitch.com/t/checking-account-linking-in-twitch-drops/46244>\
**Category:** Drops\
**Created:** [June 27, 2023, 6:52am UTC](https://discuss.dev.twitch.com/t/checking-account-linking-in-twitch-drops/46244 "2023-06-27T06:52:51Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ahoy11](https://avatars.discourse-cdn.com/v4/letter/a/aeb1de/32.png) [@ahoy11](https://discuss.dev.twitch.com/u/ahoy11)\
**Post date:** [June 27, 2023, 6:52am UTC](https://discuss.dev.twitch.com/t/checking-account-linking-in-twitch-drops/46244/1 "2023-06-27T06:52:51Z")

</div>

How do Twitch determine if an account is linked when user clicked refresh button in drops campaign menu?

---

<div class="post-metadata">

**Author:** ![BarryCarlyon](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/barrycarlyon/32/253_2.png) [@BarryCarlyon](https://discuss.dev.twitch.com/u/BarryCarlyon)\
**Post date:** [June 27, 2023, 8:39am UTC](https://discuss.dev.twitch.com/t/checking-account-linking-in-twitch-drops/46244/2 "2023-06-27T08:39:14Z")

</div>

It’s an Internal system.

So Twitch looks up if a link exists between the two. Probably using a similar thing to how eventsub webhooks works when using an app access token to request userdata

---

<div class="post-metadata">

**Author:** ![Xemdo](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/xemdo/32/29273_2.png) [@Xemdo](https://discuss.dev.twitch.com/u/Xemdo)\
**Post date:** [June 28, 2023, 6:28pm UTC](https://discuss.dev.twitch.com/t/checking-account-linking-in-twitch-drops/46244/3 "2023-06-28T18:28:46Z")

</div>

It is indeed an internal system, attached to the user’s connections listed on the [Connections page of your account settings](https://www.twitch.tv/settings/connections).  
A user will have the connection appear on that page when they authorize the connection for the relevant Client ID. This “relevant Client ID” will be the Client ID set for the game by the publisher/developer in the Drops Settings on [dev.twitch.tv](http://dev.twitch.tv).

From a publisher/developer perspective, you can validate the connection using the [/oauth/validate endpoint](https://dev.twitch.tv/docs/authentication/validate-tokens/). This endpoint will tell you if the OAuth token you have is still valid, but it will **not** tell you if the user still has “_Connected_” appear, which is purely related to what’s listed on the Connections page.

That being said, its worth noting that if you invalidate a token using [/oauth2/revoke](https://dev.twitch.tv/docs/authentication/revoke-tokens/) it will still appear in the Connections page, and therefore will still appear as “Connected”.

All that to say there’s no public way for you to verify if the user’s account will show “Connected” when you hit the refresh button. Instead you’ll have to verify if the token is valid, and allow for reconnection from your website.

---

<div class="post-metadata">

**Author:** ![system](https://d2opxh93rbxzdn.cloudfront.net/original/2X/0/05909729875cce3b53e59d5561c4d23bb14948fc.png) [@system](https://discuss.dev.twitch.com/u/system)\
**Post date:** [July 5, 2023, 6:29pm UTC](https://discuss.dev.twitch.com/t/checking-account-linking-in-twitch-drops/46244/4 "2023-07-05T18:29:23Z")

</div>

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