Hi Friends i had struct in this issue from past so many days below is my project structure the problem is that the page is not loading till i click on ...
Hi Friends i had struct in this issue from past so many days below is my project structure the problem is that the page is not loading till i click on ...
I have one stupid question maybe: I'm implementing some routes guards that contains some other observable subscription, they are provided in root, so ...
. Answers to this question are eligible for a +100 reputation bounty. d ...
I have a PolicyGuard with a method canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot). In canActivate I create an observable, and ...
I have a route guard that checks if a user has access to a resource, before proceeding. After the subscription, I check if the user has access, and if ...
The following code works correctly when the final if statement is true. Does not ever resolve the requested route when the final if statement is false ...
I'm trying to protect some views in my Angular app using Cognito and route guards. Basically what I'm trying to do is to check whether there is an act ...
I have a problem. So, I want to create a route guard in Angular that doesn't allow the user to reach login page if he is logged in. I check if he is l ...
I have setup my routes and route guards in Angular and they are working great for stopping the user from accessing a route that they shouldn't. Howeve ...
I am trying to find a solution that will redirect to the authorization endpoint before loading the angular first (html and components). Is that even p ...
I have 2 components intial-settings and app-navbar inside my app.component.html: <initial-settings *ngIf="!userFloor"></initial-settings> ...
I'm a little confused by how Angular routes treat the observables that a guard returns. Take the following route guard: The guard returns an observ ...
I have permission DTO coming from BE which determines parts of application accessible to the user. Using NgRx selector I want to use it inside the Can ...
I need to trigger a dialog through the CanDeactivate routeguard, if the user tries to navigate out of a page without saving the form. I'm following th ...
I'm trying to resolve the correct path of a set of URLs that share the same structure. I have the path /:id/:areaId and /:id/:cityId and this is done ...
I know the usage of Auth guard in Angular and I am just a beginner in angular I just made a basic authentication based on read write access that inclu ...
so I have lets say 2 routes '/admin-route' and '/superuser-route' and both require 'admin' and 'superuser' privileges respectively to access these rou ...
I have a 'Teams' collection in Firestore. A team document will include a team_users map field where userID: true if they are a part of that team. I h ...
I am creating a Route Guard in Angular; how it works is depending on if you are associated with a company; it will send you to a particular component. ...
When I first try to login it does authenticate the user and set the loggedInStatus in AuthService as true but the loggedIn in the AuthGuard is set fal ...