Google's officially supported Node.js client library for accessing Google APIs. Support for authorization and authentication with OAuth 2.0, API Keys and JWT (Service Tokens) is included.
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.
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.