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

@anttirt

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions