Hi, I'm trying to setup a simple login to playfab with Steam account but I get an error message when trying to do GetTitlePublicKey. The error is "InvalidSharedSecret". In the Request for GetTitlePublicKey I fill in my shared secret from the website at Settings -> Secret Keys. But this appears to be invalid...
What's wrong here?
Answer by Sarah Zhang · Jun 25 at 09:59 AM
Title Shared Secret is not Secret Key. If you want to get TitleSharedSecret, you can call Admin/CreatePlayerSharedSecret API to create the player shared secret. It’s the TitleSharedSecret that you need. You also can call Admin/ GetPlayerSharedSecrets to get them after you created them.
And we need supplement it we don’t suggest you use Secret Key and admin/server APIs in the clients. Secret Key and admin API should be used in custom servers. And as far as I know, logging in with steam does not need to use these APIs. If you use UE4 Engine to create a server program please ignore.