I've been searching for a solution to distribute my next game and I think the Itch.io app offers what I need. I have a question on what is necessary on my server.
I have authored a game client and game server.
I understand that using itch.io app I can have a JWT token passed to my game as an environment variable. I can then access the jwt/me scope from my game and set an "Authorization" header to the key.
Questions:
1) Will the response to jwt/me (Authorization: key) be the user profile? Or Session data?
2) After authenticating the user on the client (because I'll need their username), when they connect to the server, what is the best way for the server to authenticate the user? Would I pass the same key to the server and do the same API call?
3) How would I go about using itch.io app and debugging with Visual Studio? I imagine I would need debug capabilities.
I'm going through the docs and these are a little fuzzy. I'm willing to PR the docs if I find things that can help others.
-Jarmo