# Webhook authorization problem

**URL:** <https://staging-discuss.dev.twitch.com/t/webhook-authorization-problem/31750>\
**Category:** API\
**Created:** [May 22, 2021, 11:19am UTC](https://staging-discuss.dev.twitch.com/t/webhook-authorization-problem/31750 "2021-05-22T11:19:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mertoksuz](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/mertoksuz/32/12165_2.png) [@mertoksuz](https://staging-discuss.dev.twitch.com/u/mertoksuz)\
**Post date:** [May 22, 2021, 11:19am UTC](https://staging-discuss.dev.twitch.com/t/webhook-authorization-problem/31750/1 "2021-05-22T11:19:40Z")

</div>

Hi everyone, i have app access token even with bits:read or default ( full ) scope granted.

When i try to subscribe channel.cheer event for hooks i always getting;

```
{
    "error": "Forbidden",
    "status": 403,
    "message": "subscription missing proper authorization"
}

```

Anyone any idea how can i subscribe to this event ?

Here is the reques body (xxx and secrets are different in original);

```
{
    "type": "channel.cheer",
    "version": "1",
    "condition": {
        "broadcaster_user_id": "xxx"
    },
    "transport": {
        "method": "webhook",
        "callback": "https://xxx/callback",
        "secret": "secret"
    }
}

```

thanks.

---

<div class="post-metadata">

**Author:** ![BarryCarlyon](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/barrycarlyon/32/253_2.png) [@BarryCarlyon](https://staging-discuss.dev.twitch.com/u/BarryCarlyon)\
**Post date:** [May 22, 2021, 11:59am UTC](https://staging-discuss.dev.twitch.com/t/webhook-authorization-problem/31750/2 "2021-05-22T11:59:21Z")

</div>

> [@mertoksuz](#):
>
> Hi everyone, i have app access token even with bits:read or default ( full ) scope granted.

App access tokens do not represent a user

App access tokens (basically for twitch) cannot have scopes

> [@mertoksuz](#):
>
> Anyone any idea how can i subscribe to this event ?

First you create a user token for the broadcaster\_id you want to subscribe to with the relevant scopes.  
Then use your App access token (with no scopes)  
To subscribe to the topic

I wrote about this two legged approach here [How does Twitch’s new EventSub work? – Barry Carlyon](https://barrycarlyon.co.uk/wordpress/2021/02/03/how-does-twitchs-new-eventsub-work/)

---

<div class="post-metadata">

**Author:** ![mertoksuz](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/mertoksuz/32/12165_2.png) [@mertoksuz](https://staging-discuss.dev.twitch.com/u/mertoksuz)\
**Post date:** [May 22, 2021, 12:08pm UTC](https://staging-discuss.dev.twitch.com/t/webhook-authorization-problem/31750/3 "2021-05-22T12:08:42Z")

</div>

@BarryCarlyon

Hey, thanks a lot! I read your blog post and i finally registered to cheer event.

---

<div class="post-metadata">

**Author:** ![system](https://d2spem0quai2ol.cloudfront.net/original/2X/0/05909729875cce3b53e59d5561c4d23bb14948fc.png) [@system](https://staging-discuss.dev.twitch.com/u/system)\
**Post date:** [June 21, 2021, 12:08pm UTC](https://staging-discuss.dev.twitch.com/t/webhook-authorization-problem/31750/4 "2021-06-21T12:08:44Z")

</div>

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