Closed gabor-balla-emarsys closed 8 years ago
If escher authenticator middleware is used on any endpoint, it wraps any error thrown by the endpoint in an UnauthorizedError, even when the error is unrelated. https://github.com/emartech/suite-js-sdk/blob/master/authentication/request/koa.js#L13
This is fixed in https://github.com/emartech/suite-js-sdk/commit/3dc5bb586e629fea0e38fedeac3136c625887033
If escher authenticator middleware is used on any endpoint, it wraps any error thrown by the endpoint in an UnauthorizedError, even when the error is unrelated. https://github.com/emartech/suite-js-sdk/blob/master/authentication/request/koa.js#L13