Description
I've been using Google Play Games Plugin v0.10.14 without any issues, but I recently upgraded to v2.0.0. The problem is that both versions have their own way of generating an authentication code. I send this code to my C++ server, where the rest of the authentication process remains unchanged.
With v0.10.14, the authentication code allows me to exchange it for an access token, which I then use to retrieve the user's email and other profile information.
However, in v2.0.0, when I obtain the authentication code using:
PlayGamesPlatform.Instance.RequestServerSideAccess(true)
I can successfully exchange it for an access token, just like before. But when I try to use this access token to fetch user information (email, profile, etc.), I receive the following error:
{ "error": "invalid_request", "error_description": "Invalid Credentials" }
Question
What has changed in v2.0.0 that causes the authentication token to no longer work for retrieving user information? Is there an additional step or a required scope that needs to be explicitly set?