Javascript – Getting request with auth token via Angular Interceptor and Intercepting further calls
I'm trying to authenticate to an API first and then "attach" the token to each one of my requests, but the one including 'connect'. I have the following: Interceptor @Injectable() export class TokenInterceptor implements HttpInterceptor { constructor(private authService: AuthService) {}…