Account Linking on Actions on Google Step by step

对着背影说爱祢 提交于 2019-12-08 14:15:49

问题


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?


回答1:


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

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.

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



来源:https://stackoverflow.com/questions/41330516/account-linking-on-actions-on-google-step-by-step

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