Firebase-functions: Function not firing on auth user delete. User is deleted on auth but my the trigger never occurs.

Created on 26 Nov 2019  路  7Comments  路  Source: firebase/firebase-functions

Related issues

[REQUIRED] Version info

node:

firebase-functions:

firebase-tools:

firebase-admin:

[REQUIRED] Test case

[REQUIRED] Steps to reproduce

[REQUIRED] Expected behavior

[REQUIRED] Actual behavior

Were you able to successfully deploy your functions?

auth bug

Most helpful comment

Thanks for filing.

This is an issue when using firebase admin to delete users. There's a fix on the way, will update this when it hits prod.

Internal tracking 145006195

All 7 comments

I found a few problems with this issue:

  • I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.
  • This issue does not have all the information required by the template. Looks like you forgot to fill out some sections. Please update the issue with more information.

Thanks for filing.

This is an issue when using firebase admin to delete users. There's a fix on the way, will update this when it hits prod.

Internal tracking 145006195

Using the web sdk to delete a user is also not firing the trigger. It only removes the user from auth.

Please refer to the discussion here: https://groups.google.com/forum/#!msg/firebase-talk/ROXTbooVzlM/vY1kh9TqAQAJ

I'm observing the exact same behavior as the users on the thread: onCreate() is triggered instead of onDelete(). The deletion was executed using the client SDK on Android, NOT the admin SDK.

The last onDelete trigger was fired on my project on Nov.21st at 7:07:47.579 PM UTC

I'm observing the exact same behavior as the users on the thread: onCreate() is triggered instead of onDelete(). The deletion was executed using the client SDK on Android, NOT the admin SDK.

I have the same behaviour as triggering onCreate() instead of onDelete()
Executed from Firebase Functions as functions.auth.user().onCreate()

Last onDelete trigger fired on: Nov 17 2019 2:18:38.190 PM

package.json

"firebase-admin": "^8.3.0",
"firebase-functions": "^3.2.0",

Also when deleting the user from the Firebase console https://console.firebase.google.com everything triggers correctly.

As of 2019-11-29 the onDelete triggers started firing again on my project.

Looking good for me too!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

m4recek picture m4recek  路  33Comments

Bob-Snyder picture Bob-Snyder  路  25Comments

alexbjorlig picture alexbjorlig  路  66Comments

lookfirst picture lookfirst  路  25Comments

malikasinger1 picture malikasinger1  路  50Comments