python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
hasCustomClaims redirects to blank page
I am using hasCustomClaim to guard a route from non admin users.
const adminOnly = () => hasCustomClaim('admin');
The problem here is after a simple user tries to visit the forbidden path, he get ...
Mohammed
Votes: 0
Answers: 1
Make a component render in more than one page - Routes Angular 13
I have the following routes, and I need to render the Conditional component in some specific routes, but the shared component in all routes. How can I do it?
const routes: Routes = [
{
path: "som...
Lazarus
Votes: 0
Answers: 1
Routes / Interceptor not working in Angular 11 App
I'm having the classic issue of my Angular 11 app not working after having made some changes, without knowing which change caused it.
The app should be redirecting the user to "auth/login", ...
Maxim
Votes: 0
Answers: 0
Angular avoid Route parameter (:id) and navigate to specific link
In our project, I have to implement a navigation or redirect to a maintenance page, if maintenance mode is activated.
I wanted to do this in the AuthGuard service, and do something like:
canActivate(....
MMMM
Votes: 0
Answers: 1