Viewing entries tagged
routing

Angular 7 Authenticated Route Guard

Comment

Angular 7 Authenticated Route Guard

In this post we’ll add a route guard that only allows the user to navigate to the /beer route if they’re authenticated. The new AuthRouteGuard will determine if the user is authenticated via a NGRX store using a selector that checks for the existence of a JWT.

Comment