When a Twitch user revokes access for Splits.io to use their Twitch account from the Twitch side (i.e. not using the Splits.io settings page), we currently aren't informed about this and so will keep trying to use their Twitch access tokens / refresh tokens to do things like sync follows and crawl highlights when asked.
Twitch now supports a webhook that notifies us when such a disconnect happens, so we can use this to remove the connection on our end.
As part of this, consider the possibility that that Twitch link is the only login method the user has to Splits.io, and what (if anything) we should do in that circumstance to not brick their account.
When a Twitch user revokes access for Splits.io to use their Twitch account from the Twitch side (i.e. not using the Splits.io settings page), we currently aren't informed about this and so will keep trying to use their Twitch access tokens / refresh tokens to do things like sync follows and crawl highlights when asked.
Twitch now supports a webhook that notifies us when such a disconnect happens, so we can use this to remove the connection on our end.
As part of this, consider the possibility that that Twitch link is the only login method the user has to Splits.io, and what (if anything) we should do in that circumstance to not brick their account.