Skip to content
This repository was archived by the owner on Apr 19, 2026. It is now read-only.
This repository was archived by the owner on Apr 19, 2026. It is now read-only.

There is no way to get a server auth code using the Play Games C++ SDK #72

Description

@anttirt

Sorry if this is the wrong place, I could not find where to file issues with the Play Games C++ SDK.

When using Java APIs, I can use GoogleSignInOptions.Builder(GoogleSignInOptions.DEFAULT_GAMES_SIGN_IN) together with requestServerAuthCode(String) as documented here to retrieve a server auth code.

There doesn't seem to be an option in the C++ SDK to do this. I would expect for example gpg::GameServices::Builder to contain a configuration function such as RequestServerAuthCode() but was unable to find anything resembling it.

  1. Is there a way to retrieve a server auth code with the Play Games C++ SDK?
  2. If not, how can I use the Play Games C++ SDK together with GoogleSignInOptions.Builder.requestServerAuthCode?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions