Angular 8 Intercept call to refresh token
问题 I am trying to refresh access token if current access token is expired. I am sending multiple requests at one time and I want to make a kind of a queue, so other requests won't request refreshing token route. I've googled some best practises and examples and found out the following solution for Angular 6 and rxjs v6, which is using BehaviourSubject and switchMaps. (please see attached code) However I am using Angular 8 (8.1) and rxjs v6.4 and this solution does not work for me. It simply does