How to restrict access to Login Route if user is already logged in, using CanActivateFn?
I have successfully implement AuthGuardService which restrict access to a protected route if user is not logged in.
Getting error while trying to import jwt-decode
I am getting error “Cannot find module ‘jwt-decode’ or its corresponding type declarations.”
But I imported the jwt_decode
like this:
import * as jwt_decode from 'jwt-decode';
Issue with @auth0/angular-jwt when there’s no token found in the module config
I’m using the library @auth0/angular-jwt as the jwt implementation system for my angular 17 app and i’m facing a little issue.