From 2c2c90a450784e47a57ebbbab4158a9aa3cff527 Mon Sep 17 00:00:00 2001 From: Jonas Hungershausen Date: Thu, 25 Jan 2024 10:15:07 +0100 Subject: [PATCH] feat: add via MFA login flow init parameter (#317) --- src/routes/login.ts | 2 ++ 1 file changed, 2 insertions(+) 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)) {