Dans cet exemple, un client appelle une ressource protégée. Mais quand on appelle /hello, une 500 est renvoyée. En analysant, la 500 provient d'une 401 sur la ressource protégée.
@RestController
public class ClientController {
@GetMapping("/hello")
public ResponseEntity<String> hello() {