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
Copy file name to clipboardExpand all lines: docs/Cube.js-Backend/@cubejs-backend-server-core.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,7 @@ Create an instance of `CubejsServerCore` to embed it in an `Express` application
19
19
*`logger(msg, params)` - pass function for your custom logger.
20
20
*`schemaPath` - Path to the `schema` location. By default, it is `/schema`.
21
21
*`devServer` - Enable development server. By default, it is `true`.
22
+
*`checkAuthMiddleware` - Pass express-style middleware to check authentication. Set `req.authInfo = { u: { ...userContextObj } }` inside middleware if you want to provide `USER_CONTEXT`. [Learn more](/cube#context-variables-user-context).
0 commit comments