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
Just use Location class to get initial url, UrlSerializer class to parse url, UrlTree to get query params.
Location
UrlSerializer
UrlTree