Build Secure Login for Your Angular App

Matt Raible

I’ve never tried to have two auth guards for one component before, so I’m not sure this will work. Does your component implement OnInit? What does the code in your ngOnInit() method look like?