Skip to content

Issue: Authentication Token Behavior Change in v2.0.0 #3347

Open
@Ozan-Deniz

Description

@Ozan-Deniz

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions