Hello I have a system where players can register/login to PlayFab with a username, email, and password but I also use Steam purchases. I've noticed that when ever I enter my shop it creates a Steam account so I always have two accounts. How can I set it up so instead of registering a new account it just links it with the already signed in one instead of creating an account just for Steam?
private void OnGetAuthSessionTicketResponse(GetAuthSessionTicketResponse_t pCallback) { byte[] tempTicket = new byte[ticketLength]; for (int i = 0; i < tempTicket.Length; i++) tempTicket[i] = ticket[i]; string hexEncodedTicket = ""; hexEncodedTicket = System.BitConverter.ToString(tempTicket); hexEncodedTicket = hexEncodedTicket.Replace("-", ""); hexTicket = hexEncodedTicket; LoginWithSteam(); } public void LoginWithSteam() { LoginWithSteamRequest request = new LoginWithSteamRequest() { TitleId = PlayFabSettings.TitleId, CreateAccount = false, SteamTicket = hexTicket, InfoRequestParameters = accountParams }; PlayFabClientAPI.LoginWithSteam(request, OnLoggedIn, OnLoginError); }