Angular | Redirect to another page after authentication | Redirect after login
use Angular's Router service.
import { Router } from '@angular/router';
constructor ( private authSerivce: AuthenticateService, private router: Router){};
call the navigate method of the Router service to redirect the user to the desired URL
this.router.navigate(['https://www.youtube.com/']);