Play Games Services Server-Side API Access sample

Open
#3,468 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 2 days

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
node.js

Research direction

Start with the linked Play Games Services offline-access documentation and the Node.js client-library authorization flow. Trace how the server auth code is exchanged before calling applications.verify(); done means the Cloud Run service can verify the player without returning Invalid Credentials.

Written by the indexing model from the issue text.

Description

priority: p3 samples size: s type: docs

I'm trying to implement the Java example shown here with Nodejs using the client libraries. My server runs as a Cloud Run Service. I've tried several variations of the samples shown here, but they all ended up Invalid Credentials error.

Required credentials are all set up in Play Console, the Android client can login to Games Services, can get the authCode as shown here, pass that code to server, and I could not figure out how to proceed after that. I just want to verify this player on the server, calling applications.verify() method.

Dominant language
TypeScript
Stars
12.3k
Forks
2k
Avg merge
3d 10h
Merged PRs (30d)
9

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from googleapis/google-api-nodejs-client

All issues in googleapis/google-api-nodejs-client

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.