You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BREAKING CHANGE: Remove support for checkAuthMiddleware
checkAuthMiddleware option was deprecated in 0.26.0, because this option was tightly bound to Express. Since Cube.js
supports HTTP **and** WebSockets as transports, we want our authentication API to not rely on transport-specific details. We now recommend using checkAuth.
warning: 'Option checkAuthMiddleware is now deprecated in favor of checkAuth, please migrate: https://github.com/cube-js/cube.js/blob/master/DEPRECATION.md#checkauthmiddleware',
warning: 'Option checkAuthMiddleware is now deprecated in favor of checkAuth, please migrate: https://github.com/cube-js/cube.js/blob/master/DEPRECATION.md#checkauthmiddleware',
480
-
}
481
-
]);
482
-
expect(loggerMock.mock.calls[1]).toEqual([
483
-
'Security Context Should Be Object',
484
-
{
485
-
warning: 'Value of securityContext (previously authInfo) expected to be object, actual: string',
0 commit comments