Document in user collection not deleted when user deletes account via Firebase authentication

Hi there,

I have implemented a "delete account" feature.

The user record is successfully deleted from Firebase authentication.

However the document in the user collection is not deleted.

I see this error message in the app:

I think rules are set correctly

although I wondered about "allow delete, if false"

I also setup the Firebase extension "Delete User Data" although I'm not sure if that's really needed.

Any tips?

1
7 replies