I am currently building a small app (Ionic / Angular) and the whole app is protected by AuthGuard (it’s for internal use of a business). It’s working with AuthGuard canActivate.
When there is no token in storage, it goes to the login page.
When the user is logged in, then we are redirected to the “home” page. However when the app starts, I see a small glimps of the login page before redirecting to the homepage.
How can I prevent that ?
1 post - 1 participant