[英]can't integrate our application with Google assistant using Dialogflow
I can't integrate our application with Google assistant using Dialogflow. 我无法使用Dialogflow将我们的应用程序与Google助手集成。
We created an account on "Google actions" 我们在“ Google动作”上创建了一个帐户
We implemented Oauth2.0 in our server. 我们在服务器中实现了Oauth2.0。 It is working and meeting the standards mentioned here : https://developers.google.com/actions/identity/oauth2-code-flow
它正在工作并符合此处提到的标准: https : //developers.google.com/actions/identity/oauth2-code-flow
We added our authorization links. 我们添加了授权链接。 According to documentation mentioned here : https://developers.google.com/actions/identity/account-linking
根据此处提到的文档: https : //developers.google.com/actions/identity/account-linking
We added in dialogflow account fulfillment linked to our server and we enabled Google assistant 我们添加了链接到服务器的dialogflow客户实现,并启用了Google助手
we use the simulator of google assistant for testing. 我们使用谷歌助手的模拟器进行测试。 Everytime it responds with "It looks like your App account is not linked yet. App left the conversation"
每次响应时,“您的应用程序帐户似乎尚未关联。应用程序退出了对话”
This link is requested and we repeat the request and we change the scope . 请求此链接,我们重复该请求,并更改范围。 But still account not linked.
但是帐户仍然没有链接。 Please Advise about the missing part.
请告知缺少的部分。
The google assistant simulator is calling this uri : URI : MY_AUTHORIZE_URI?response_type=code&client_id=XXXXXXXXXX&redirect_uri= https://oauth-redirect.googleusercontent.com/r/APPLICATION_NAME&scope=username+password&state=Cs4CQUxWM2ROVHU4dVdvU .. 谷歌助手模拟器正在调用此uri:URI:MY_AUTHORIZE_URI?response_type = code&client_id = XXXXXXXXXX&redirect_uri = https://oauth-redirect.googleusercontent.com/r/APPLICATION_NAME&scope=username+password&state=Cs4CQUxWM2ROVHU4dVdv 。
My URI is responding with (username or password is not valid) because the send data is "username password". 我的URI响应(用户名或密码无效),因为发送的数据是“用户名密码”。 The google assistant replies with "It looks like your app_name account is not linked yet.".
谷歌助手回答:“您的app_name帐户似乎尚未链接。”。
You've defined action in google console and that action or name would appear in 您已在Google控制台中定义了操作,该操作或名称将显示在
Now you've linked your account. 现在,您已经关联了帐户。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.