Angular2 Query Params Subscription Fires Twice

后端 未结 8 1505
闹比i
闹比i 2020-12-25 11:07

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

8条回答
  •  醉酒成梦
    2020-12-25 11:53

    Just use Location class to get initial url, UrlSerializer class to parse url, UrlTree to get query params.

提交回复
热议问题