Hayk Aghabekyan Hayk Aghabekyan - 1 year ago 152
Node.js Question

Angular 2 router navigation doesn't work

Please check onSignIn() method in the end of the file


The problem is that it is not navigating to the url I need after the user is being successfully authenticated.

I think it can happen because of the Observable object..
Any thoughts?


Answer Source

It actually navigates you, but AuthGuard that you've use in your route navigates back to sign-in.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download