Actions on Google 上的帐户关联步骤 [英] Account Linking on Actions on Google Step by step

查看:36
本文介绍了Actions on Google 上的帐户关联步骤的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是 Actions on Google 的新手,我从未做过帐户关联.我想将我的网络服务器与 Google 帐户相关联.任何人都可以向我解释如何逐步进行帐户链接.我找到了链接 https://developers.google.com/actions/develop/identity/account-linking 但当我运行模拟时,它说看起来你的 apial 帐户尚未链接.你可以从 Google Home 应用程序将 apial 链接到你的 Google 帐户.".我接下来该怎么做?

I'm new at Actions on Google and I've never done account linking. I'd like to link my web server with Google account. Can anyone explain me how to do account linking step by step. I found link https://developers.google.com/actions/develop/identity/account-linking but when I run simulation it says "It looks like your apial account is not linked yet. You can link apial to your Google Account from the Google Home app.". What am I supposed to do next?

推荐答案

在网络模拟器中,当它指出看起来您的 XYZ 帐户尚未链接"时,它会提供一些信息像右侧响应日志中的以下内容:

In the web simulator, when it states "It looks like your XYZ account is not linked yet", it'll provide something like the following on the response log on the right:

"name": "Account Linking Url",
"debugInfo": "https://assistant.google.com/services/auth/handoffs/auth/start?provider=google-project-id-123455_dev&return_url=https://www.google.com/"

您可以复制&将该链接粘贴到您的浏览器中,它会将您带到您设置的 OAuth 提供商,要求您授权您的 API.AI 应用程序.如果该过程成功,您最终将被重定向到 https://www.google.com/?result_code=SUCCESS&result_message=Accounts+now+linked,这表明该过程有效.

You can copy & paste that link into your browser, and it'll take you to the OAuth provider that you set up, asking you to authorize your API.AI app. If the process succeeds, you'll eventually be redirected to https://www.google.com/?result_code=SUCCESS&result_message=Accounts+now+linked, as an indication that the process worked.

当然,如果您有实际的 Google Home,则可以打开您的 Google Home 应用并按照那里的流程进行操作.

Of course, if you have an actual Google Home, you can open your Google Home app and follow the process there instead.

这篇关于Actions on Google 上的帐户关联步骤的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆