Giter VIP home page Giter VIP logo

Comments (9)

asfalcone avatar asfalcone commented on June 15, 2024

Hi @dkornev that definitely shouldn't be happening. Can you confirm the name of your .json file as it was downloaded from the console, does it start with "Google Play Android Developer" or "client_secret"?

from supply.

dkornev avatar dkornev commented on June 15, 2024

Hi @asfalcone ! It starts from "Google Play Android Developer". The instructions look simple and I'm almost sure that I'm doing everything as described... But anyway, is it wrong *.json file?

from supply.

asfalcone avatar asfalcone commented on June 15, 2024

I'm able to find 2 different .json files file the console. The "Google Play Android Developer" one does include the client_email expected by the google auth parser but the "client_secret" one does not.

One thing you can try is putting client_email field into the .json file. The value for this is the email address that can be found under Settings -> Api Access -> Service accounts and looks like "[email protected]".

Can you also try walking through the process of creating a brand new service account and creating the service account key as well?

from supply.

dkornev avatar dkornev commented on June 15, 2024

@asfalcone Could you please describe a json structure for me? I'll try to create one by myself.
My json file just contains a plain set of characters:
http://screencast.com/t/76Cy7MrPJx5
It doesn't even look like JSON )

from supply.

asfalcone avatar asfalcone commented on June 15, 2024

That seems very wrong! That looks like the private_key if I had to guess.

The json file provided by the google play developer console should have this format:
{
"type": "service_account",
"project_id": "",
"private_key_id": "",
"private_key": "",
"client_email": "",
"client_id": "",
"auth_uri": "https://accounts.google.com/o/oauth2/auth",
"token_uri": "https://accounts.google.com/o/oauth2/token",
"auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
"client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/xx%40api-project-xx.iam.gserviceaccount.com"
}

from supply.

dkornev avatar dkornev commented on June 15, 2024

Ok, I got it. Will try more tomorrow.
Thank you very much, @asfalcone !

from supply.

dkornev avatar dkornev commented on June 15, 2024

@asfalcone
I click on 'Create Service Account' button from API Access tab
http://screencast.com/t/O2fjmbPH2
then I create Service account key
http://screencast.com/t/XLJqCVmPn
I select JSON key type as on a picture below
http://screencast.com/t/KFLyvQ5jkb
and I get a json with no 'client_email' there
http://www.screencast.com/t/76Cy7MrPJx5

If I create OAuth client ID credentials
the result JSON looks better
http://screencast.com/t/80FerHXPK0LZ
but still there is no 'client_email' attribute there, because it's not for service account credentials, I guess.

Could you tell me what I"m doing wrong?
Thanks

from supply.

asfalcone avatar asfalcone commented on June 15, 2024

@dkornev 😩 This is definitely not what I expect to be happening (and I see different behavior in the developer console)

2 more suggestions:

  1. Create a brand new service account. When selecting the account here, http://screencast.com/t/KFLyvQ5jkb, the last option should be something like "Create new account" instead of selecting the existing one your have.
  2. Use the deprecated .p12 format and manually specify the issuer param

from supply.

fastlanebot avatar fastlanebot commented on June 15, 2024

This issue was migrated to fastlane/fastlane#1961. Please post all further comments there.

fastlane is now a mono repo, you can read more about the change in our blog post. All tools are now available in the fastlane main repo 🚀

from supply.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.