![](https://i0.wp.com/media.dev.to/cdn-cgi/image/width=1000,height=500,fit=cover,gravity=auto,format=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F99ewmasa4umlbgs9bx50.png?w=1200&ssl=1)
I haven’t been able to get it to work. It seems like the constructor of the auth guard is only called once, but I get a different instance of the service when canActivate is called in the guard.
Is there a way to confirm this? Is there a thing I can log to get the instanceId of the service or something?