Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 48980

Auto login app or show login page

$
0
0

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

Read full topic


Viewing all articles
Browse latest Browse all 48980

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>