Hi,
First of all thank you for this amazing library. It is very helpful.
I have an issue with firebase.auth.createUser. The user is created on firebase but it also set the current connected user to the one that was just created.
I'm using v2.0.0-beta.7.
Thank you.
createUser() function automatically authenticates to the user which is just created. Maybe this can help: http://stackoverflow.com/questions/37517208/firebase-kicks-out-current-user/38013551
This is the expected behavior. To bulk create users without authenticating
as that user, you'll need to use the firebase admin SDK.
On Feb 11, 2017 8:32 PM, "borakrc" notifications@github.com wrote:
createUser() function automatically authanticates. Maybe this can help:
http://stackoverflow.com/questions/37517208/firebase-
kicks-out-current-user/38013551#38013551—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/angular/angularfire2/issues/814#issuecomment-279191926,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAMCy-VI0HbbYPYVV4kZxzE9hmDNUKfvks5rbm8xgaJpZM4L5S5s
.
The method name is confusing. Also, the constraint is not documented, neither the expected behavior is.
In the other hand I think that user creation should not be done from the client side code anyway. I'll consider using the admin SDK.
Think you all.
Most helpful comment
The method name is confusing. Also, the constraint is not documented, neither the expected behavior is.
In the other hand I think that user creation should not be done from the client side code anyway. I'll consider using the admin SDK.
Think you all.