Ww are using AuthHttpInterceptor to intercept the client calls in Angular. It works well. We want to add sockjs next for web socket communication. But it seems that AuthHttpInterceptor was not setting the required authorization header hence the sockji was unable to initialize.