title: AngularJS http-auth-interceptor and google cloud endpoints
body: <p>Is there a way to use the <a href="https://github.com/witoldsz/angular-http-auth" rel="nofollow">http-auth-interceptor</a> with google cloud endpoints javascript client? It looks like using the javascript client generated by cloud endpoints, when there is an error, say 401, the status code returned is still 200, but with a json object containing error code 401.</p>