简体   繁体   English

Google 操作没有对帐户取消链接进行 webhook 调用

[英]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.当我们取消帐户与模拟器设置的链接时,它只会在 google 端取消链接,google 不会执行任何 webhook 调用来通知托管 webhook 的主机,这会使帐户链接在服务器端。 I'm expecting a webhook call from google on unlink so the accounts can be unlinked at my host too.我期待来自谷歌的 webhook 调用取消链接,这样帐户也可以在我的主机上取消链接。 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.当用户取消链接他们的帐户时,不会调用用于对话操作的 webhook。 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.当该用户再次激活您的 Action 时,您的 webhook 将不会获得任何链接状态,并将其解释为以前从未链接过其帐户的用户。

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.虽然 Actions webhook 不会提供您正在寻找的信息,但您可能希望查看 Google 帐户的跨帐户保护

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.这些可以包括令牌撤销事件和帐户清除事件,其中任何一个都可能在帐户取消链接时发送。

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

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