Angular 10 Secure Routes Using #AuthGuard Based On User Role
#angularrouter #geekstrick
Angular 10 Secure Routes Using AuthGuard Based On User Roles. Securing a route based on the token and AuthInterceptor for API is ok but also we can secure the routes based on what roles does the user has.
You may have seen much application that shows an error if the user has no permission to view that page.
https://www.geekstrick.com/angular-10-secure-routes-using-authguard-based-on-user-role/

Angular 10 Secure Routes Using AuthGuard Based On User Role
5.70 GEEK