[英]acions on google smart home app not calling fullfilment
I am trying to make an actions on google smart home app.我正在尝试对谷歌智能家居应用程序进行操作。 I have implemented my oAuth2.0 server which seems to work fine.
我已经实现了我的 oAuth2.0 服务器,它似乎工作正常。 It generates an authorization token and sends it to Google with the
state
parameter provided by Google.它生成授权令牌并使用 Google 提供的
state
参数将其发送给 Google。 However, when I try to do the account linking in my google home app, it fails with the default couldn't update the setting
error.但是,当我尝试在我的 google home 应用程序中进行帐户链接时,它失败了,默认
couldn't update the setting
错误。 When I check my Firebase console, it says my smartHome function - the smart home fulfillment I provided in the actions on Google console - was never called, even though the other functions completed successfully.当我检查我的 Firebase 控制台时,它说我的 smartHome function - 我在 Google 控制台上的操作中提供的智能家居实现 - 从未被调用,即使其他功能已成功完成。
What is the cause/solution for this?这是什么原因/解决方案?
The Smart Home fulfillment is never called for your action because apparently your OAuth flow is not correctly set up. Smart Home fulfillment 永远不会要求您执行操作,因为显然您的 OAuth 流程设置不正确。 Please visit this link and make sure that everything is set up according to the authorization code flow.
请访问此链接并确保一切都根据授权代码流程进行设置。
Furthermore, Test Suite
can also be used to validate the account linking implementation: https://developers.google.com/assistant/smarthome/tools/smart-home-test-suite#account_linking_validation_test此外,
Test Suite
也可用于验证帐户链接实施: https://developers.google.com/assistant/smarthome/tools/smart-home-test-suite#account_linking_validation_test
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.