Basic Authentication service called By Zuul
问题 I'm Zuul as edge server. so all request pass by this edge server. I have a micro-service A. all web services of A are protected by Basic Authentication. How can we call the services of A b passing by Zuul proxy? Should I add header for messages? 回答1: Ideally the requester would have the token in the request. If you want to have Zuul add the authentication token then you can create a ZuulFilter and use: context.addZuulRequestHeader("Authorization", "base64encodedTokenHere"); Doing this would