How do I delete a user from Node.js

298 views
Skip to first unread message

Greg Schechter

unread,
Jun 24, 2016, 10:46:04 AM6/24/16
to Firebase Google Group
How do I delete a user in Node.js?  I wanted to use signInWithEmailAndPassword and then call User.delete, but that functionality isn't available on node.

firebase.auth().signInWithEmailAndPassword(email, password).then(user => {
           
return user.delete();
}))


I get

Error TypeError: firebase.auth(...).signInWithEmailAndPassword is not a function



Thanks

Jacob Wenger

unread,
Jun 24, 2016, 12:52:39 PM6/24/16
to fireba...@googlegroups.com
Please see here. We are working on bringing these auth methods to the Node.js SDK.

Jacob

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/417b6b68-73c6-457c-a3c6-f017954e474f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages