Question about CWS publishing API and service account

63 views
Skip to first unread message

Lu Xu

unread,
Feb 25, 2025, 6:17:58 PM2/25/25
to Chromium Extensions
Hi everyone,
I was following this doc https://developer.chrome.com/docs/webstore/using-api to setup the OAuth flow and I am able to get access token via a WebApp client and use that token in CWS publish APIs

But it seems I have to go through an OAuth consent flow, which requires some manual action, is there anyway I can fully automate obtaining the access token?
There seems a workaround: after obtaining the access token and refresh token for the first time, I can automate refreshing access token afterwards, but I am wondering is it a good practice?

I also find this doc about service account OAuth, but I would like to confirm does service-account support getting access token for CWS APIs?

Thank you very much!
Reply all
Reply to author
Forward
0 new messages