I am receiving the following strange dependency injection behavior when using custom HttpInterceptors in angular 5+.
The following simplified code works fine:
You need to add the auth service as a dependency of the interceptor.
providers: [ { provide: HTTP_INTERCEPTORS, useClass: HttpConfigInterceptor, multi: true, deps: [AuthService] }