When requesting the active extension for any channel using our extension's API key and secret, our own overlay extension seems to be invisible. Despite the overlay extension being activated, the Get User Active Extensions endpoint returns active: false indicating that no extension is activated. This appears to be a bug.
How to reproduce
You can test this on both our channels: 173220974 and 645825848, as well as a streamer's channel that uses our extension: 152890221. We're using the client_credentials flow, which should at least allow us to access the activated extensions with only API secrets and no explicit user authentication:
GET https://api.twitch.tv/helix/users/extensions?user_id=173220974 -H "Client-Id: pdspa6il7uylrm3qov7u0wdm4fgfcz" -H "Authorization: Bearer xxx"
{"data":{"panel":{"1":{"active":false},"2":{"active":false},"3":{"active":false}},"overlay":{"1":{"active":false}},"component":{"1":{"active":false},"2":{"active":false}}}}
It appears this is an issue specific to our extension and/or our API key. When we use another extension installed on our channel, it works correctly (see below). It also works correctly when using the v5 endpoint https://api.twitch.tv/v5/channels/173220974/extensions which correctly reports our extension:
The API should indicate the overlay as installed and activated, like our other extension:
GET https://api.twitch.tv/helix/users/extensions?user_id=173220974
{"data":{"panel":{"1":{"active":false},"2":{"active":false},"3":{"active":false}},"overlay":{"1":{"active":true,"id":"apwln3g3ia45kk690tzabfp525h9e1","version":"1.2.0","name":"Hearthstone Deck Tracker"}},"component":{"1":{"active":false},"2":{"active":false}}}}
Screenshots
Additional context or questions
Our API client id is pdspa6il7uylrm3qov7u0wdm4fgfcz, which is also our extension id. However, I've tried this with other API clients as well and have not ever seen our extension appear.
Brief description
When requesting the active extension for any channel using our extension's API key and secret, our own overlay extension seems to be invisible. Despite the overlay extension being activated, the Get User Active Extensions endpoint returns active: false indicating that no extension is activated. This appears to be a bug.
How to reproduce
You can test this on both our channels: 173220974 and 645825848, as well as a streamer's channel that uses our extension: 152890221. We're using the client_credentials flow, which should at least allow us to access the activated extensions with only API secrets and no explicit user authentication:
It appears this is an issue specific to our extension and/or our API key. When we use another extension installed on our channel, it works correctly (see below). It also works correctly when using the v5 endpoint
https://api.twitch.tv/v5/channels/173220974/extensions
which correctly reports our extension:Expected behavior
The API should indicate the overlay as installed and activated, like our other extension:
Screenshots
Additional context or questions
Our API client id is pdspa6il7uylrm3qov7u0wdm4fgfcz, which is also our extension id. However, I've tried this with other API clients as well and have not ever seen our extension appear.