Apologies if you’ve seen this a million times, but your situation here (multiple users logging in and out on the same device) is the precise reason I developed this idiom. If you combine it with the route guards suggested by @mhartington, I think you’re done. You shouldn’t have to care about unwanted things in the browser history, because attempts to revisit those pages would get caught by a CanActivate
guard and can be redirected to the login page.
1 Like