The documentation for twitch drops mentions that it requires a website to support linking. Twitch dev documentation specifically says "While account linking can be achieved in-game, we also require that you host a webpage to let Twitch viewers link their accounts. You will need to add this URL to your reward configuration so that Twitch can redirect your viewers to the correct account linking page."
I'm unsure what the best way to go about this would be for a game that's supported on Steam, Xbox, PS4 and Nintendo Switch. How would you advise this?
I've been experimenting with creating a simple website that lets you log in to both Twitch and Steam at the same time, using expressjs, similar to what is described in here and here. This process works fine, but associating the logged in Steam account to its PlayFab account to link Twitch to is proving difficult. PlayFab's LoginWithSteam requires an authentication token obtained from GetAuthSessionTicket that (to my knowledge) isn't available with Steam's web API or most of the common javascript Steamworks wrappers. I do have access to things like steamID, but this isn't enough for logging into PlayFab. I have not yet looked into how to do this process for Xbox / PS4 / Switch but I'd be worried about similar obstacles.
Should I be approaching things differently? Is there a better way to handle Steam logins to PlayFab, or preferably is there a way that the specific details of logging into each platform isn't a concern?