1 Reply

Yes, you can pass the player entity token via ValidateEntityTokenAsync to get the player’s entity. I guess you use PlayFab C# SDK in your server code. If you want to use ValidateEntityTokenAsync API in a server program, please get the Title Entity Token before you call the ValidateEntityTokenAsync. Because only entities of title and cloud_root may call this API.

Yes, you can useGetEntityTokenAsync to get the title’s entity token. In this step, you need to provide the TitleId and Secret Key in the PlayFabSettings.staticSettings first, then call GetEntityTokenAsync. After you get the response of GetEntityTokenAsync successfully, the server program may call ValidateEntityTokenAsync API. It won’t throw such exceptions again.