In my system I need to create users from an authenticated user, but for this I need to create a user through the createUserWithEmailAndPassword method and when I create the user through this method the authentication status changes to the user that was created at the moment.
Is there a way to create users from an authenticated user without making signIn for the user created after it was created by the createUserWithEmailAndPassword method?
I have a system developed in Angular + Node.js
createUser(user: Usuario): Promise<firebase.auth.UserCredential> {
return this._angularFireAuth.auth.createUserWithEmailAndPassword(user.email, user.password);
}