0

Using React js and Firebase.

I am new to firebase and generally programming. In a new project, a admin user should be able to create new users centrally.

createUserWithEmailAndPassword(auth, email, password1)

By using this method, I am able to create new users. Nevertheless, I get logged in in this new users automatically. Is there any solution to avoid the automatic log in?

I already found some stack overflow questions from 2016 and 2018 and the common question is, that I need to run the Firebase Admin SDK on a server. Is this the only solution? I would prefer to practice a little bit more my new ReactJS and Firebase knowledge before starting with these server side topics.

Pascal Meger
  • 21
  • 1
  • 6
  • 2
    The admin SDK is really the correct way to create an account without any weird work-arounds or side-effects. You just integrate it into your backend just like anything else. – Doug Stevenson Jan 05 '23 at 23:22

0 Answers0