我们正尝试使用
您可以在 Google API概述中看到客户端ID。
>在左上角,选择要获取其客户端ID的项目,然后在 OAuth 2.0客户端ID 部分下,看所有ID都已关联到您的项目。
Google应该已经为您生成了一个名为 Google App上的新操作的文件。我也有一些较旧的项目,其中有多个键,并且只能与另一个键一起使用。
此功能最近已更新,看来文档尚未更新。
We are trying to setup the account linking process using Google SignIn.
In this, it asks us to copy the Client Id at Step 5:
However, I don't find the Client ID field in the Account Linking section at all.
Is there an alternative way to generate this? I tried using the console in developers.google and created an Oauth 2.0 Client Id of Web Application type, but using the Client ID generated this way, gives the following error (when used with DialogFlow):
Error: Wrong recipient, payload audience != requiredAudience at OAuth2Client.verifySignedJwtWithCerts (/srv/node_modules/actions-on-google/node_modules/google-auth-library/build/src/auth/oauth2client.js:696:23) at OAuth2Client.<anonymous> (/srv/node_modules/actions-on-google/node_modules/google-auth-library/build/src/auth/oauth2client.js:514:38) at step (/srv/node_modules/actions-on-google/node_modules/google-auth-library/build/src/auth/oauth2client.js:57:23) at Object.next (/srv/node_modules/actions-on-google/node_modules/google-auth-library/build/src/auth/oauth2client.js:38:53) at fulfilled (/srv/node_modules/actions-on-google/node_modules/google-auth-library/build/src/auth/oauth2client.js:29:58) at <anonymous> at process._tickDomainCallback (internal/process/next_tick.js:229:7)The documentation seems to be outdated and there is no information anywhere on how to get the Client Id
解决方案Update October 2019
It seems that Google has updated this, you can see your client ID again under the google Sign-in option in your Google Project.
You can see the client ID in the Google APIs overview.
In the top left, select the project for which you want to get the client ID and then under the OAuth 2.0 Client IDs section you should be able to see all ID's connected to your project.
Google should have already generated one for you named "New Actions On Google App". I've also had older projects where it had more than one key and it would only work with the other key.
This has been updated recently and it seems that the documentation isn't up to date yet.
更多推荐
无法看到客户编号
发布评论