From a2ee590897ac0705d21cdc1ed540aec37b2b12b6 Mon Sep 17 00:00:00 2001 From: Krystie Date: Mon, 30 Mar 2026 00:23:12 -0700 Subject: [PATCH] fix(routes): Pass licenseManager and other deps to auth/sso-gate --- dashcaddy-api/routes/auth/index.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/dashcaddy-api/routes/auth/index.js b/dashcaddy-api/routes/auth/index.js index 370c957..28adeae 100644 --- a/dashcaddy-api/routes/auth/index.js +++ b/dashcaddy-api/routes/auth/index.js @@ -22,7 +22,12 @@ module.exports = function(ctx) { session: ctx.session, asyncHandler: ctx.asyncHandler, errorResponse: ctx.errorResponse, - log: ctx.log + log: ctx.log, + // Additional deps for sso-gate + fetchT: ctx.fetchT, + getServiceById: ctx.getServiceById, + licenseManager: ctx.licenseManager, + servicesStateManager: ctx.servicesStateManager }; const { getAppSession, appSessionCache } = initSessionHandlers(deps);