Authentication and security using Firebase

We will now look into Firebase user authentication and how we can secure our data. Firebase supports login and authentication internally and also provides support for integrating with social login providers. Most applications need some kind of login mechanism internally; with Firebase it's super easy to set this up. Whenever we login using Firebase a session is created and a unique ID uid is returned by Firebase, which is distinct across all providers and never change for a specific authenticated user. This will also help us later in securing our data.

Once the user is authenticated its session is managed and remembered even after the application is restarted. Firebase provides user authentication ...

Get Hybrid Mobile Development with Ionic now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.