Getting client ID for PubSub

What could be happening is the “token generation limit”

If the same broadcaster is generating new tokens using “TMI token gen” an app you don’t control. For some reason. Every 25 tokens it will kill the first token (by age).

Which is another reason for not using someone elses token generator, becuase you don’t control the authentication process.

Then this ends up in you generating a token for SE/SL (for example) with the wrong scopes on since you could generate a “incomplete”/scope limited token for the apps needs using the “Twitch Console/settings page”

Since Twitch doesn’t know what scopes an App needs.