Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
0 votes
0 answers
46 views

When I navigate to SomeChildComponent, I wonder why SOME_CHILD_GUARD is called before SOME_PARENT_GUARD. It makes no sense to me. And I would like the order to be inverted. I have not found anything ...
2 votes
1 answer
132 views

Listen, I'll explain how it all happens. I'm making a refresh system for a jwt token. It's a standard thing. I configured exactly two systems: guards and interceptors. That's why I'm sure people will ...
1 vote
1 answer
107 views

I'm currently trying to display a loading indicator on navigation in Angular. The issue I am experiencing is that when the user is tries to get on a protected route, the guard will redirect them but ...
1 vote
1 answer
84 views

I have an application that uses a microfrontend architecture. In one specific microfrontend, I'm using Angular guards with the canDeactivate method. Here's an example: const exampleRoutes: Routes = [ ...
1 vote
1 answer
159 views

I have a section of my Angular app that is only accessible through a generated link sent to the user's email (a Docusign type thing). It is sectioned off from the rest of the app via a feature module, ...
2 votes
2 answers
926 views

I'm working on an Angular 17 project with login and session functionality. Everything is working well except for the guard. Every time I refresh the page, the screen briefly blinks back to the login ...
2 votes
1 answer
99 views

I want to do token-based authorization with angular, but I have a bug like this I can protect pages with auth guard if the token has not exploded, but I cannot use the interceptor because auth guard ...
0 votes
1 answer
89 views

I've got routes '/' and '/auth'. The logic is that NOT logged in users can access ONLY /auth page, while logged in users CAN'T access it. So, I've made two guards and for some reason I get infinite ...
0 votes
2 answers
75 views

I need to team suggestion , I have more than 10 form. I want create common directives or any other option form value change before routing. If form changed we need to get confirmation from ...
2 votes
0 answers
709 views

The angular devtools plugin in firefox and chrome does not work and reports Angular application not detected. when the root path is guarded by a keycloak auth guard. Reproduction steps: Create a new ...
1 vote
1 answer
258 views

I just started with coreUi and Angular 18 and would like to intercept the requests, when the user calls another route. I started with the standard coreUi modern theme and set everything up so far but ...
1 vote
1 answer
257 views

How can I get the incoming request headers in an Angular authentication guard? In an Angular 17 application, I'd like to support authenticated deep links with JWT tokens in the incoming request header,...
0 votes
1 answer
799 views

I am not able to add any guard or anything for redirectTo route in my case which is an empty path. I am using MSAL for authentication, MSAL does provide a guard and its working for other routes. So ...
0 votes
0 answers
75 views

Yesterday I encountered a very peculiar bug which I have not been able to solve. I essentially created services to handle user authentication and data management. I also created an additional service ...
2 votes
0 answers
151 views

We're trying to implement a functional guard but an error keeps occurring relating to the injected services. Code: role.guard.ts: import { HttpClient } from "@angular/common/http"; import { ...

15 30 50 per page
1
2 3 4 5
...
21

AltStyle によって変換されたページ (->オリジナル) /