title: Configure basic authentication with Spring Sleuth Zipkin
body: <p>I'm trying to configure my spring boot app to log into a zipkin server. The problem is that this server is protected by a proxy (with basic auth) and I cannot find any documentation describing how to configure authorization with spring-sleuth.</p>
  
  <p>I have tried to use that kind of configuration :</p>
  
  <pre><code>spring.zipkin.baseUrl: http://user:password@zipkin-server:9411
  </code></pre>
  
  <p>But without success, logs indicating :</p>
  
  <pre><code>ZipkinRestTemplateWrapper    : Created POST request for "http://user:password@zipkin-server:9411/api/v2/spans"
  ZipkinRestTemplateWrapper    : Setting request Accept header to [text/plain, application/json, application/*+json, */*]
  ZipkinRestTemplateWrapper    : Writing [[B@46d92b65] as "application/json" using [org.springframework.http.converter.ByteArrayHttpMessageConverter@53804b23]
  ZipkinRestTemplateWrapper    : POST request for "http://user:password@zipkin-server:9411/api/v2/spans" resulted in 401 (Unauthorized); invoking error handler
  </code></pre>
  
  <p>I have tried with curl and it works.</p>
  
  <p>Has someone already succeed to configure authentication with spring-sleuth ?</p>