'how to read query params in angular authguard Canactivate

I tried to read query params inside authguard in angular 9.but getting undefined, I haves et authguard with Canactivate



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source