question

Daniel González avatar image
Daniel González asked

Misleading documentation of LoginWithGoogleAccount

The example of the usage of LoginWithGoogleAccount for javascript uses the (supposedly) old AccessToken property:

https://api.playfab.com/docs/tutorials/landing-players/google-html5

This property doesn't exist in the documentation:

https://api.playfab.com/documentation/client/datatype/playfab.client.models/PlayFab.client.Models.LoginWithGoogleAccountRequest

Also, now the recommended method to login with google is using the ServerAuthCode, but there's only an example of that using Google Play Games to retrieve the ServerAuthCode.

It's been impossible to me to make the login work with plain JavaScript using the ServerAuthCode. I think that the tutorial should have been updated before removing the AccessToken.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
brendan avatar image
brendan answered

Thanks for calling that out - we've filed a bug to get that tutorial updated.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.