Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Serverless Web Applications with React and Firebase

You're reading from   Serverless Web Applications with React and Firebase Develop real-time applications for web and mobile platforms

Arrow left icon
Product type Paperback
Published in Apr 2018
Publisher Packt
ISBN-13 9781788477413
Length 284 pages
Edition 1st Edition
Languages
Arrow right icon
Authors (2):
Arrow left icon
Harmeet Singh Harmeet Singh
Author Profile Icon Harmeet Singh
Harmeet Singh
Mayur Tanna Mayur Tanna
Author Profile Icon Mayur Tanna
Mayur Tanna
Arrow right icon
View More author details
Toc

Summary

In this chapter, we saw how we can make our application secure from unknown users with the help of firebase authentication system. We also saw how we can configure the React -Firebase application in node environment as well as how to create a login form in React and integrate the Firebase Authentication Sign-in method in React, such as Google, Facebook, and Email/Password. Similarly, we can integrate the other Authentication sign-in methods in your application.

We also covered handling the authentication errors based on the firebase auth error codes that help us perform an action in the application. To Persist the auth state, we can use firebaseApp.auth().setPersistence('session'), the method that allows us to maintain the firebase auth state.

In the next chapter, we will explore the power of Redux and create a realtime ticket booking application with React...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image