Spring Cloud Zuul does not forward cookies
Add sensitive headers in application.yml like this:-
routes:
service:
path: /service/**
sensitiveHeaders: Cookie,Set-Cookie
url: http://localhost:9001
In Spring Cloud Netflix 1.1, "Cookies" is included in the sensitive headers list and they are not passed down.
This can be manipulated by config zuul.routes.*.sensitiveHeaders.
See documentation details here under heading "Cookies and Sensitive Headers":
http://cloud.spring.io/spring-cloud-netflix/spring-cloud-netflix.html
Default Zuul sensitive headers allowing to not forward these datas are
sensitiveHeaders=Cookie,Set-Cookie,Authorization
to be able to forward cookies, you can put in your bootstrap.properties file
sensitiveHeaders=
Or if you don't need of Authorization header
sensitiveHeaders=Authorization