【发布时间】:2016-12-20 13:26:45
【问题描述】:
我正在开发一个 Spring Cloud Zuul 网关,以放在我的 Spring Boot 应用程序前面。 我在应用程序端使用基本授权。 当我使用正确的授权标头调用网关时,我总是得到 401 Unauthorized
"status": 401,
"error": "Unauthorized",
"message": "Full authentication is required to access this resource"
但是当我直接向应用程序发出请求时,它可以工作。
【问题讨论】:
标签: spring-cloud spring-cloud-netflix