The post Protect Angular 2 Routes with canActivate Guard for Firebase Users appeared first on positronX.io.
In this tutorial, I am going to explain how you can protect Angular 2 routes with canActivate Guard for Firebase users. Route guard prevents unauthorized users to access the Angular app.
I created this small Angular Firebase demo app for showing you how you can follow the best practice for Angular app’s route security. CanActivate interface provides the best example for angular app’s URL security.