I\'m in the proces of adding an interceptor to my angular 6 project. To make calls to my API, I need to add a bearer token to all calls. Unfortunately the interceptor does n
In my case interceptor wasn't getting involved for service calls because I had imported HttpClientModule multiple times, for different modules.
HttpClientModule
Later I found that HttpClientModule must be imported only once. Doc ref
Hope this helps!