Firebase 3 authentication (express.js)

402 views
Skip to first unread message

Daniel Sánchez

unread,
Jun 22, 2016, 11:20:23 PM6/22/16
to Firebase Google Group
Hi,

Anyone here as a better understanding about how to create a user in express.js??? I tried to follow the code in the docs but no success

firebase.auth().createUserWithEmailAndPassword(email, password).catch(function(error) {
 
// Handle Errors here.
 
var errorCode = error.code;
 
var errorMessage = error.message;
 
// ...
});
It says...firebase.auth().createUserWith...is not a function. Probably because I'm using the code for web and no server? Anyways, tried to follow the server code but no luck following the steps, it's a little confusing for me.

Someone can help a little, dont need the step by step but at least a push.

Thanks

Bassam Ojeil

unread,
Jun 23, 2016, 2:43:58 AM6/23/16
to Firebase Google Group
Hey Daniel,
Currently, the node.js package only provides server side code. 
Client side code like createUserWithEmailAndPassword is not supported.

Bassam

Jacob Wenger

unread,
Jun 23, 2016, 1:24:51 PM6/23/16
to fireba...@googlegroups.com
As Bassam said, the 3.x.x Node.js SDK does not yet have support for all of the methods that you can find on the browser SDK. We are working on bringing feature parity as soon as we can, but in the meantime, please continue to use the 2.x.x Node.js SDK which is documented here. Keep an eye out for a future update to the JavaScript SDK which will unblock your use case. No estimates on timeline for when that will happen.

Cheers,
Jacob

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/e53d788e-5df3-45d0-ae06-55b38bdc3a28%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Jacob Wenger

unread,
Aug 8, 2016, 6:46:42 PM8/8/16
to Firebase Google Group
Hey Daniel, if you'd like to beta test a release which includes some client-side auth and user management methods, send me an email at ja...@firebase.com.

Jacob Wenger

unread,
Aug 16, 2016, 3:29:26 PM8/16/16
to Firebase Google Group
Client auth and user management methods are now available in Node.js as of version 3.3.0 of the Firebase JavaScript SDK which was just released. See my full message here for more details.

Cheers,
Jacob
--
Jacob Wenger | Software Developer | jw...@google.com | 717-580-1590

Reply all
Reply to author
Forward
0 new messages