Trying to handle an OAuth login scenario where if the user lands on a page with authorization_code in the query string, we process the token and continue
authorization_code
Put your subscription code on ngAfterViewInit method,
ngAfterViewInit() { this.route.queryParams.subscribe(params => { debugger; }); }