nitpick: the correct indentation should be:
```js
callback(
    new CAPIError(
        "An error occurred during request authentication.",
        {request: nextRequest}
    ),
```