MrStahlfelge/gdx-gamesvcs

Exception in thread "LWJGL Application" com.badlogic.gdx.utils.GdxRuntimeException: com.fasterxml.jackson.core.JsonParseException: Unrecognized token 'fewZBzlAIBvWOuukVqyWKzOi'

shatterblast opened this issue · 1 comments

I have a problem with this branch: https://github.com/MrStahlfelge/gdx-gamesvcs-app/tree/feature/gpgs

I bring it up, because it is based off this repository. I can not seem to feed the "Client ID" to the "gpgs" version of a Desktop build. It only feeds the "secret". Here is my shortened version: https://github.com/shatterblast/gdx-gamesvcs-app/tree/feature/gpgs

Thank you for your efforts!

I am troubleshooting a possible error of mine. This seems to be my mistake: https://github.com/MrStahlfelge/gdx-gamesvcs/blob/master/desktop-gpgs/src/de/golfgl/gdxgamesvcs/GpgsClient.java#L179-L192

Edit:
I needed to put the following into the gpgs-client_secret.json file in the "../android/assets/" folder:

{
  "installed": {
      "client_id": "792636176215-u5hhhqgscjr83am0s68k8rsb743skd78.apps.googleusercontent.com",
      "client_secret": "fewZBzlAIBvWOuukVqyWKzOi"
  }
}

I think it would immensely help others to add a bit of clarity to the following file: https://github.com/MrStahlfelge/gdx-gamesvcs-app/blob/feature/gpgs/android/assets/gpgs-client_secret.json

Thanks again for your hard work!
(The credentials I posted here will be removed soon as of this posting.)