apkup icon indicating copy to clipboard operation
apkup copied to clipboard

Improve Google Play authentication docs

Open svzi opened this issue 4 years ago • 5 comments

@nprail As already stated in https://github.com/eventOneHQ/apkup/issues/15, the flow for creating the service account has changed a bit. There is no rule Release manager anymore, or I'm unable to find it... I'm unable to get it going, it says ERROR: Forbidden.

Any help would be really much appreciated!

svzi avatar Feb 29 '20 22:02 svzi

Hmm, I'll try going through the flow and make sure the docs are up-to-date.

I think those instructions probably need a complete rewrite. I've only adapted them from the original playup instructions a few times and I think the process has significantly changed since.

nprail avatar Feb 29 '20 22:02 nprail

@nprail That would be really helpful, because this lib seems to be very useful and I would like to give it a try!

svzi avatar Feb 29 '20 22:02 svzi

@svzi Looks like there is still a Release Manager role but the docs on the README don't make it clear that the Release Manager role can only be found in the Google Play Console, not in the Google Developers Console... which is, in fact, different...

I don't believe the service account needs any permissions in the Google Developers Console.

Screen Shot 2020-02-29 at 5 59 37 PM

Once you create the Google Developers Console project, service account, and key, you have to go back the the Google Play Console and give the service account the Release Manager role there.

Screen Shot 2020-02-29 at 6 09 40 PM

Let me know if that works. My instructions might be a bit off because I already have it setup. The first time instructions might be a little different...

nprail avatar Feb 29 '20 23:02 nprail

@nprail Thanks for your comment, I will have another look at it as soon as I've prepared my next version. I've managed to create a new service account user and assigned the Release manager role via the Google Play Console. But I haven't tried if everything works.

svzi avatar Mar 03 '20 13:03 svzi

FYI: I had to put the Service Account Permissions to be Service Account User in order for the service account to show up in the Google Play Console. More info on stackoverflow

stephan-nordnes-eriksen avatar Mar 31 '20 12:03 stephan-nordnes-eriksen