简体   繁体   English

将更改保存到DialogFlow代理后,Google帐户链接上的操作丢失

[英]Actions on Google account linking lost after saving changes to DialogFlow agent

We have created a DialogFlow agent linked to an Actions on Google project for a Google Assistant chatbot. 我们创建了一个DialogFlow代理,该代理链接到Google Assistant项目上的Google智能助理聊天机器人。 Our chatbot requires users to have a valid user account in our backend system, so we are using the 'Account Linking' feature in the Actions on Google project. 我们的聊天机器人要求用户在我们的后端系统中拥有有效的用户帐户,因此我们使用Google Play上的“帐户关联”功能。 This is working, however I'm finding that every time I make the slightest change to the agent and save changes, the next time I use the simulator or Google Assistant app it tells me my user is no longer linked, and I have to go through the linking process again. 这是有效的,但我发现每次我对代理进行最轻微的更改并保存更改,下次我使用模拟器或Google智能助理应用程序时它告诉我我的用户不再链接,我必须去再次通过链接过程。 This can't be right - surely users don't have to re-link their accounts every time the project is updated? 这不可能是正确的 - 用户每次更新项目时都不必重新链接他们的帐户? I have not yet sent the app for review - I'm still testing it in 'draft'. 我还没有发送应用程序进行审核 - 我仍然在'草稿'中测试它。

You are correct! 你是对的! For live deployed AoG apps, users do not have to re-account link their account as their access token is stored in Google servers unless they decide to RESET their app from the Google Assistant directory listing page of that particular AoG app which results in Google discarding the access token for that particular user and AoG app. 对于实时部署的AoG应用,用户无需重新帐户关联其帐户,因为他们的访问令牌存储在Google服务器中,除非他们决定从该特定AoG应用的Google智能助理目录列表页面重置其应用,从而导致Google丢弃该特定用户和AoG应用程序的访问令牌。

During the testing of your app in the simulator, clicking on TEST DRAFT has the same effect as resetting your AoG app which is deleting the previously granted access token for that specific user and AoG app. 在模拟器中测试您的应用程序期间,单击TEST DRAFT与重置您的AoG应用程序具有相同的效果,该应用程序正在删除该特定用户和AoG应用程序的先前授予的访问令牌。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM