Build Secure Login for Your Angular App

Pooja Dabholker

Hi Matt,I got the redirection okta page working.I have a dashboard component which already has a can activate .have also added oktagauthgaurd.
{ path: ‘dashboard’, component: DashboardComponent, canActivate: [ AuthGuardService,OktaAuthGuard] }.
I noticed it goes in both the can activate methods and loads the dashboard but with no user details which is set in ngOnInit .it somehow fails to execute ngOnInit and constructor methods of dashboard
Could you please guide me here.
Thank you in advance