Chrome app Picasa identity: OAuth2 request failed: Service responded with error: 'bad client id: {0}'

筅森魡賤 提交于 2019-12-05 08:21:53

Steps I take to make it work

  1. Go to Google Developers Console and create a new project.
  2. Go to APIs & auth > Credentials in the panel to create new Client ID. The application ID of chrome app can be obtained from Chrome Developer Dashboard if you your app is uploaded.
  3. Go to APIs & auth > Consent screen and fill in Email Address and Product Name and Save.

I didn't know step 3 was necessary.

It seems amazing but after 1 day has passed, everything is working :)

UPD: I've tried gdrive sample from chrome-app-samples repo and added scope for Picasa. After everything worked fine, I copied its key and oauth2 section to my app's manifest. Everything worked fine too. After this I deleted client_id for app in developer console and created it again. And after that everything was ok.

You need to register your application in Google Developer Console and obtain a client_id. See the 'Credentials' pane to configure your application.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!