Michael Karén
Mar 19, 2022

--

Thanks,

If you check the article "Top 10 ways to use interceptors" you have an example at the end for number 1. It will depend on the security model and auth service you are using but it will give you an example of how RxJS can help hold the requests while the token is refreshing.

I might do another article about the auth interceptor when I get some time.

--

--

Michael Karén
Michael Karén

Written by Michael Karén

Frontend Architect • JavaScript Enthusiast • Educative.io Author • ngVikings organizer.

Responses (1)