简体   繁体   中英

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. It generates an authorization token and sends it to Google with the state parameter provided by 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. 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.

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. 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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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