1

I have an admin setup using angularfire2 and i'm trying to make it so the logged in admin user can update another user's email/password. I know you can call something like this.af.auth.getAuth().auth.updateEmail(this.user.get('email').value) to update the currently logged in user's info, but how to I update a different user's info?

7
  • Have you considered using firebase-admin node.js? It allows you to update any user using admin privileges: firebase.google.com/docs/admin/setup Commented Apr 3, 2017 at 3:46
  • 1
    You don't in code. Firebase has no concept of 'admin user' (unfortunately) and trying to work with that concept in Firebase is a dead end. Commented Apr 3, 2017 at 19:16
  • Possible duplicate of Change password with Firebase for Android Commented Apr 3, 2017 at 19:16
  • @Jay Not a duplicate, not even close to what they were asking and completely different platform. Commented Apr 4, 2017 at 15:21
  • @Jay They don't have a concept of admin user, but they do have a way to handle security rules so you'd think there would be a way to do it. Commented Apr 4, 2017 at 15:23

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.