I am try login with google account, but does not work.
Player secret i take from google console (client_secret). But where i can take "Server Auth Code" ? It same that "client_id"?
ServerAuthCode is not the same thing with the Client ID.
ServerAuthCode will be obtained on the client from Google Server after you authenticate the user using Google Sign-In, which you can then send for authentication to PlayFab. (more information please see: https://docs.microsoft.com/en-us/rest/api/playfab/client/authentication/loginwithgoogleaccount?view=playfab-rest)
So, before calling LoginWithGoogleAccount, the process of getting ServerAuthCode is beyond the service scope of PlayFabSDK. And you'll need to implement this login logic in ue4. ( In the Unity case, we provide very detailed tutorials and demo on it, maybe you can get help from it: Setting up PlayFab authentication using Google Play games sign-in in Unity & https://github.com/PlayFab/PlayFab-Samples/blob/master/Recipes/GoogleSignInSample/Assets/Example/Scripts/SignInExample.cs#L45)
Besides, we also recommend you to send a thread on Google or Unreal community forum where you can get help from other perspectives.
3 People are following this question.