Hello!
I switched to the EventSub flow from PubSub, but started getting an error when trying to subscribe to a topic - “websocket transport cannot have subscriptions created by different users”
Here’s how my implementation works in general:
- I have a server which connects to the twitch EventSub via websockets and I use this connection to subscribe on “channel.channel_points_custom_reward_redemption.add” topic for all of my clients.
- When I receive new notification from twitch, I send it back to my clients. So my server basically works almost like a proxy and it manages subscriptions for all users.
But I guess this approach just doesn’t work for EventSub flow?
Should I open websocket connection on the client side for each of my clients? I initially decided not to do it because I’m using OAuth Authorization flow and I wanted to keep access token on my server without sending it to the client at all. Is this a valid approach or should I change it?
Should I maybe use Webhook flow for this?
Thanks in advance)