google-chrome-extensiongoogle-apichrome-web-store

Unable to use Chrome Web Store Publish API due to force 2-Factor verification


Until recently I have been releasing Chrome Extension using Chrome Web Store Publish API. (Automated release process)

   const response = execSync(`\
      curl -X PUT -F 'data=@${process.env.ZIP_FILE}' https://www.googleapis.com/upload/chromewebstore/v1.1/items/${extensionId} \
      -H "Authorization: Bearer ${accessToken}" \
      -H "x-goog-api-version: 2" 
  `);

Due to the latest set of policy changes to limit extensions abuse and improve the security of the Chrome Web Store, this includes requiring 2FA for Chrome Web Store developers, I am not able to publish chrome ext anymore.

Is there any way how to release chrome ext using Chrome Web Store Publish API without requiring 2-Factor verification?


Solution

  • No, but to clarify the developer account just needs to have two factor authentication enabled. You will still be able to publish extensions through an automated script, but 2FA needs to be setup first.