After adding headers inside code duplicate call is happening. find the image to see the call happening twice.
auth-interceptor.ts
export class AuthInterceptor implements HttpInterceptor {
intercept(req: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>> {
    const clonedRequest = req.clone({
        headers: req.headers.set('X-CustomAuthHeader', 'some-auth-token')
    });
    console.log("new headers", clonedRequest.headers.keys());
    return next.handle(clonedRequest);
}
}
 
    
 
    