prescottprue / react-redux-firebase

Redux bindings for Firebase. Includes React Hooks and Higher Order Components.
https://react-redux-firebase.com
MIT License
2.55k stars 559 forks source link

Removing a signed up user from firebase authentication #970

Closed kanlanc closed 4 years ago

kanlanc commented 4 years ago

Do you want to request a feature or report a bug?
Feature

What is the current behavior?

Couldn't find a function for removing users that are signed up from firebase authentication in the docs

What is the expected behavior?

Provide a function that removes a signed up user

prescottprue commented 4 years ago

@kanlanc This is something that seems like it should be handled using the deleteUser method of the firebase-admin SDK in a node environment like cloud functions. There is not a method in the firebaseJS SDK auth section for removing users, so there isn't really anything I am aware of that can be exposed for doing this.

Please let me know if I am misunderstanding