@Operation(summary = "Request a new mijn digid session based on an app session")
    @PostMapping(value = "/request_session", consumes = "application/json")
    public ResponseEntity<?> requestSession(@RequestBody @Valid MijnDigidSessionRequest request){
        if(request == null || request.getAppSessionId() == null) {
            return ResponseEntity.badRequest().build();
        }

        String mijnDigiDSessionId = mijnDigiDSessionService.createSession(request.getAppSessionId()).getId();
        return ResponseEntity
                .ok()
                .header(MijnDigidSession.MIJN_DIGID_SESSION_HEADER, mijnDigiDSessionId)
                .build();
    }
@Test
    void validateBadRequestOnNoRequest() {
        ResponseEntity<?> response = mijnDigiDSessionController.requestSession(null);

        assertEquals(response.getStatusCode(), HttpStatus.BAD_REQUEST);
    }