question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Delete User Data not triggering when user deleted by client SDK

See original GitHub issue

Step 2: Describe your configuration

  • Extension name: _ delete-user-data
  • Configuration values:
    • **_**asia-northeast1
    • **_**userData/{UID},admins/{UID}
    • **_**shallow

Step 3: Describe the problem

The function is called and successfully deletes user data when I delete a user in the console, but not called when I delete a user using the WebSDK.

In the client, I call:

var user = firebase.auth().currentUser; then user.delete()

This successfully deletes the user but the function is not triggered.

Steps to reproduce:

I install and configure the delete user data function. It works as intended when deleting a user in the console but isn’t triggered when deleting a user from the client. I tried uninstalling and installing it again. Same result.

Expected result

I expect the same to happen when I delete a user from the client or the console

Actual result

function only called when deleting a user from the console

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
Ehespcommented, Dec 1, 2019

Thanks for the information!

0reactions
jhuleattcommented, Dec 17, 2019

This was caused by an issue in the Firebase Authentication back end and has been fixed: https://groups.google.com/d/msg/firebase-talk/ROXTbooVzlM/ZhhMefjqAwAJ

Read more comments on GitHub >

github_iconTop Results From Across the Web

Using the Delete User Data extension - Firebase - Google
The Delete User Data extension ( delete-user-data ) lets you delete a user's data when the user is deleted from your Firebase project....
Read more >
android - notify application directly when you delete a user in ...
1 Answer 1 · When a Firebase user is deleted from Firebase console (after user login), it is not reflected in the application...
Read more >
When Record from Custom object is deleted Trigger not Firing
Hi, I am not finding delete event in your trigger. Trigger updateDealWithLoanInfo2 on Loan__c (after insert, after update, before/after delete)
Read more >
Delete an IAM policy using an AWS SDK
AWS Identity and Access Management. User Guide. What is IAM? ... What is ABAC? ... What if an MFA device is lost or...
Read more >
Delete Users - OneSignal Documentation
Once you delete users, there is no way to get them back. Deleted users can only get push again once they: Web: Clear...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found