def METHOD_NAME(self, do_lti_launch, make_jwt):
    def _missing_claim(payload, missing_claim, status=403):
        del payload[missing_claim]
        response = do_lti_launch({"id_token": make_jwt(payload)}, status=status)
        assert response.html
        return response
    return _missing_claim