Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using service account #15

Open
PavelVanecek opened this issue Jul 27, 2015 · 6 comments
Open

Using service account #15

PavelVanecek opened this issue Jul 27, 2015 · 6 comments

Comments

@PavelVanecek
Copy link

Hi,

I would like to update my extension using an OAuth2 Service account. My request however fails on Not a valid developer. Please make sure you have accepted the developer agreement: https://chrome.google.com/webstore/developer/terms.

Have your ever expertimented with using Service accounts? I want to avoid the browser altogether, configure CI server and forget about everything; namely dealing with expiring tokens.

I also posted similar question on StackOverflow.

@waltertamboer
Copy link

I would love to know if you ever found a solution for this. I'm struggling with the same problem.

I want to publish my extension in an automated way and see no other solution than using a service account.

@c301
Copy link
Owner

c301 commented Jan 13, 2017

I didn't try service account, but we've configured automated publishing with refresh_token.
Following config works for us:

        webstore_upload: {
            "browser_path": "blabla",
            "skipUnpublished": true,
            "accounts": {
                "default": { //account under this section will be used by default
                    publish: true, //publish item right after uploading. default false
                    client_id: "189534-25vph0dkie204es2pps.googleusetent.com",
                    client_secret: "V7LEbJDeShcj",
                    refresh_token: "1/gYzyjlW65sFaaHuiWJ5F45cnOVIw"
                }
            }

You only need to get refresh_token once for each account. Hope it will help to implement CI for you

@waltertamboer
Copy link

waltertamboer commented Jan 15, 2017

@c301 You should remove your client secret and refresh token from the comment, it's sensitive information. Thanks for your reply.

@c301
Copy link
Owner

c301 commented Jan 16, 2017

@waltertamboer, yeah, that's why I've deleted 70% of it :D

@hrayrpapikyan
Copy link

Have the same issue. Do you have any solution for this now? @PavelVanecek , @c301 and @waltertamboer please?

@waltertamboer
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants