This commit is contained in:
Max Peintner
2024-12-16 16:57:05 +01:00
parent 01b7d47551
commit 5fab1ba08a
2 changed files with 4 additions and 1 deletions

View File

@@ -396,3 +396,5 @@ Timebased features like the multifactor init prompt or password expiry, are not
- Login Settings: multifactor init prompt - Login Settings: multifactor init prompt
- forceMFA on login settings is not checked for IDPs - forceMFA on login settings is not checked for IDPs
- disablePhone / disableEmail from loginSettings will be implemented right after https://github.com/zitadel/zitadel/issues/9016 is merged - disablePhone / disableEmail from loginSettings will be implemented right after https://github.com/zitadel/zitadel/issues/9016 is merged
Also note that IDP logins are considered as valid MFA. An additional MFA check will be implemented in future if enforced.

View File

@@ -211,7 +211,8 @@ export async function GET(request: NextRequest) {
console.log("Session is valid:", isValid); console.log("Session is valid:", isValid);
if (!isValid && selectedSession.factors?.user) { if (!isValid && selectedSession.factors?.user) {
// if the session is not valid anymore, we need to redirect the user to re-authenticate // if the session is not valid anymore, we need to redirect the user to re-authenticate /
// TODO: handle IDP intent direcly if available
const command: SendLoginnameCommand = { const command: SendLoginnameCommand = {
loginName: selectedSession.factors.user?.loginName, loginName: selectedSession.factors.user?.loginName,
organization: selectedSession.factors?.user?.organizationId, organization: selectedSession.factors?.user?.organizationId,