Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Account linking with Google Sign-in: Is there a way to know when a user has revoked/removed access via their Google Account settings?

we're using account linking with Google Sign-In, and store the user information in the Firebase auth database, similar to what is described here: https://developers.google.com/assistant/identity/google-sign-in

If a user later goes to their Google account settings and removes our action (i.e. revokes access), is there any way we can know that this happened, so that we can remove them from our Firebase auth database (plus remove any other data, as needed)?

I've searched far and wide but haven't found a clear answer to this anywhere, so any pointers and help much appreciated!

like image 350
Mario Menti Avatar asked Dec 01 '25 23:12

Mario Menti


1 Answers

Take a look at registering for Cross Account Protection (RISC) notifications. This will let you register a webhook that will receive notifications in the event a user account has been compromised, if they remove authorization, etc.

like image 151
Prisoner Avatar answered Dec 07 '25 06:12

Prisoner



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!