The users in my game are logged into Playfab via "
LoginWithOpenIdConnect". I'm wanting to work out what a user's PlayerId is in my server code so that I can post statistics etc for that player. How can I best achieve this?
The users in my game are logged into Playfab via "
LoginWithOpenIdConnect". I'm wanting to work out what a user's PlayerId is in my server code so that I can post statistics etc for that player. How can I best achieve this?
You can have the player send its SessionTicket returned from LoginWithOpenIdConnect to your .net core server and call Server/AuthenticateSessionTicket to authenticate & retrieve details about the user, then find its PlayerId in AuthenticateSessionTicketResult -> UserInfo -> PlayFabId(the same as PlayerId).
No problem, please let me know if you have any further questions.
3 People are following this question.