DEV Community

Discussion on: React authentication with Firebase

Collapse
robin_beaudru_fd2d58ef438 profile image
Robin Beaudru

Thank you very much for your article!
I couldn't setup Firebase auth except with your tutorial!

How can I display, let's say the user email?
Cheers!

Collapse
dawx profile image
Dawx Author

Hi, you can get current users details with auth.currentUser, to display an email address you can do something like this: <p>{auth.currentUser.email}</p>

Hope this helps!

Collapse
robin_beaudru_fd2d58ef438 profile image
Robin Beaudru

Thank you I succeed exactly the same way!

I’m very new to programming, and even if login is a basic feature, it is really hard to learn !

I shared this tutorial to all of my boot camp colleagues!