In my server, I want to find a player playfabId from a customID that I have from a third-party login service.
This is the code for player login in my game
PlayFabClientAPI.LoginWithCustomID(new LoginWithCustomIDRequest() { CustomId = customId, CreateAccount = new bool?(true) }, OnLoginSuccess, OnLoginFailed);
I found about GenericID and I think I can use AddGenericId after the user Login, and then use GetPlayFabIDsFromGenericIDs from my server, but it just give me a result without PlayFab id
{ "code": 200, "status": "OK", "data": { "Data": [ { "GenericId": { "ServiceName": "SomeServiceName", "UserId": "customId" } } ] } }
In further testing with Postman, the GetPlayFabIDsFromGenericIDs always respond the same as my Post Body.
Is this how GetPlayFabIDsFromGenericIDs should behave?
If that so, how can I retrieve a player PlayFab ID using a CustomId ?