简体   繁体   中英

Google actions no webhook call on account unlinking

I'm working on a google assistant integration where I see some limitation with google when it comes to account unlinking. When we unlink the account from simulator settings it only unlinks at the google end, google doesn't do any webhook call to notify the host where the webhook is hosted, this leaves the account linked at the server end. I'm expecting a webhook call from google on unlink so the accounts can be unlinked at my host too. Wanted to check if anyone has faced this problem and have any other alternate for this issue?

Your webhook for conversational actions does not get called when a user unlinks their account. When that user activates your Action again, your webhook will not get any linking status and will interpret them as a user who has never linked their account before.

While the Actions webhook won't deliver the information you're looking for, you may wish to look into Cross Account Protection for the Google Account.

Under this scheme you're setting up another endpoint that gets alerts for certain "events" against the original account. These can include a token revocation event and an account purged event, either of which might be sent when the account is unlinked.

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