0

I have an external login: Active Directory and i want to redirect user from angular home page to identity external login like this:

this.router.navigate(['authentication/login']);

Is there any way to do something like this?

this.router.navigate(['authentication/external-login']);
ssrvz
  • 33
  • 1
  • 6

1 Answers1

0

The router is for internal navigation (i.e. routes that are registered for the application).

For external routes, I would use the window object. Learn more here.

AliF50
  • 16,947
  • 1
  • 21
  • 37