Moving to Spring Boot 1.5.1 and OAuth2 + JWT token - Error 401 Unauthorized
I'm trying to move my project to Spring Boot 1.5.1 and right now my configuration of Outh2 + JWT tokens stopped working. Right now I receive 401 error while performing a following test: RestTemplate restTemplate = new RestTemplate(); CreateDecisionRequest decisionRequest = new CreateDecisionRequest(name, description, url, imageUrl, parentDecisionId, tenantId); HttpHeaders headers = new HttpHeaders(); headers.setAccept(Arrays.asList(MediaType.APPLICATION_JSON)); headers.add(SecurityTestUtils.AUTH_HEADER_NAME, "Bearer " + accessToken); HttpEntity<CreateDecisionRequest> requestEntity = new