matterbridge icon indicating copy to clipboard operation
matterbridge copied to clipboard

Oauth support for Twitch is deprecated

Open BadPirate opened this issue 9 months ago • 0 comments

Describe the bug

https://twitchapps.com/tmi/ - Describes the issue, there is a twitch token generator that creates access tokens, however they are short lived and require constant manual refresh. No more oauth long lived tokens for connecting to twitch :(

Expected behavior Allow for a proper oauth v2 flow (which will likely require having the matterbridge expose itself on a port for listening to callback / web hook

Screenshots/debug logs

From https://twitchapps.com/tmi/, which is referenced for getting token in the wiki:

Twitchapps TMI Token Generator Discontinued

Unfortunately, the Twitchapps TMI Token Generator has been discontinued. I created this small application back in 2013 when the Twitch community was very different. The developer community was small and a large number of users still used IRC clients like X-Chat, mIRC, and KVIrc to access chat. Over 10 years later, the use of this application has morphed into something way beyond it's intended purpose for better or (mostly) for worse. Times have changed and there are better alternatives available so I think it's time to finally rip off the bandaid and kill the app.

What should I do from here?

If you are a end-user with no developer experience and just need an API token do to something, I recommend using [Twitch Token Generator](https://twitchtokengenerator.com/) by swiftyspiffy instead. Please note that 3rd services which you do not control are still subject to the ["Dependancy" problem](https://xkcd.com/2347/).

If you are a developer directing your users here to generate a token for your application, please STOP! You should be creating your own OAuth application and integrating auth directly into your application or service. Please reference the [API documentation](https://dev.twitch.tv/docs/authentication/) and reach out to the developer community on the [forums](https://discuss.dev.twitch.tv/) or [Discord](https://link.twitch.tv/devchat).
**Environment (please complete the following information):**
 - OS: [e.g. linux]
 - Matterbridge version: output of  `matterbridge -version`
 - If self compiled: output of `git rev-parse HEAD`

**Additional context**
Please add your configuration file  (be sure to exclude or anonymize private data (tokens/passwords))

BadPirate avatar May 22 '25 21:05 BadPirate