Spring app returns 401 in route when I request with Postman, but returns ok when I request with Integration Test Before talk about the problem, I need to clarify some points: