diff --git a/src/routes/login.ts b/src/routes/login.ts index 24e49d72..7f94a216 100644 --- a/src/routes/login.ts +++ b/src/routes/login.ts @@ -28,6 +28,7 @@ export const createLoginRoute: RouteCreator = refresh = "", return_to = "", organization = "", + via = "", login_challenge, } = req.query const { frontend, kratosBrowserUrl, logoUrl, extraPartials } = @@ -38,6 +39,7 @@ export const createLoginRoute: RouteCreator = refresh: refresh.toString(), return_to: return_to.toString(), organization: organization.toString(), + via: via.toString(), }) if (isQuerySet(login_challenge)) {