Hello,
We are planning on using Device Code Flow for authenticating Players of our game on the Game Client with twitch and we handle any modifications to Player Profile on our Game Backend.
When granting in game entitlements claimed through Twitch Drops for a Player on our Game Backend, We are planning on passing the Twitch User Access Token obtained on the client via DCF to our game backend via a Backend API, and then using the Validate API to validate the access token, fetch the user_id
and use the user_id
to operate upon on the Drops Entitlement APIs. By first getting Drops Entitlements, granting adding the rewards to the Player Profile on the backend and then calling Update Drops Entitlements.
Please let us know if this is a valid way to verify a Player’s Twitch identity on our backend or if there’s a simpler way to verify the twitch credentials of a Player on our game backend when using the DCF.
Cheers