无法看到客户编号

编程入门 行业动态 更新时间:2024-10-11 05:26:07
本文介绍了无法看到客户编号的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我们正尝试使用

您可以在 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:

  • Open Client Information and take note of the value of Client ID issued by Google to your Actions.
  • 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.

    更多推荐

    无法看到客户编号

    本文发布于:2023-10-30 18:22:41,感谢您对本站的认可!
    本文链接:https://www.elefans.com/category/jswz/34/1543645.html
    版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
    本文标签:编号   客户

    发布评论

    评论列表 (有 0 条评论)
    草根站长

    >www.elefans.com

    编程频道|电子爱好者 - 技术资讯及电子产品介绍!