Google 上的操作帐户关联步骤

Account Linking on Actions on Google Step by step

我是 Google 上 Actions 的新手,而且我从未做过帐户 linking。我想 link 我的网络服务器使用 Google 帐户。任何人都可以向我解释如何逐步进行帐户 linking 操作。我发现 link https://developers.google.com/actions/develop/identity/account-linking 但是当我 运行 模拟时它说 "It looks like your apial account is not linked yet. You can link apial to your Google Account from the Google Home app."。接下来我该怎么办?

在网络模拟器中,当它显示 "It looks like your XYZ account is not linked yet" 时,它会在右侧的响应日志中提供如下内容:

"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/"

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

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