Getting "Your account requires Multi-factor authentication. Please enter the 6-digit code generated by the authenticator app on your mobile device" message while logging in to a portal page with MFAIssue <!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: #000000; } span { font-size: 12pt; font-family: Lato; color: #000000; } h2 { font-size: 24pt; font-family: Lato; color: black; } h3 { font-size: 18pt; font-family: Lato; color: black; } h4 { font-size: 14pt; font-family: Lato; color: black; } a { font-size: 12pt; font-family: Lato; color: #00718F; } a:hover { font-size: 12pt; color: #024F69; } a:target { font-size: 12pt; color: #032D42; } a:visited { font-size: 12pt; color: #00718f; } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } When end users try to access a portal through a customized landing page after enabling Multi-Factor Authentication (MFA), they receive a message stating that their account requires multi-factor authentication but are not redirected to the MFA page.Steps to reproduce the issue: 1. Access the customized service portal page such as --> https://instancexxxx.service-now.com/spcustom.2. The login page is displayed to enter the credentials.3. The user is supposed to be redirected to the multi-factor validation page ( validate_multifactor_auth_code.do) but it does not , a message is displayed: "Your account requires Multi-factor authentication. Please enter the 6-digit code generated by the authenticator app on your mobile device" PS: When accessing the out-of-the-box (OOB) service portal page https://instancexxxx.service-now.com/sp, the MFA redirection is working as expected. Release<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: #000000; } span { font-size: 12pt; font-family: Lato; color: #000000; } h2 { font-size: 24pt; font-family: Lato; color: black; } h3 { font-size: 18pt; font-family: Lato; color: black; } h4 { font-size: 14pt; font-family: Lato; color: black; } a { font-size: 12pt; font-family: Lato; color: #00718F; } a:hover { font-size: 12pt; color: #024F69; } a:target { font-size: 12pt; color: #032D42; } a:visited { font-size: 12pt; color: #00718f; } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } All releases Resolution<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: #000000; } span { font-size: 12pt; font-family: Lato; color: #000000; } h2 { font-size: 24pt; font-family: Lato; color: black; } h3 { font-size: 18pt; font-family: Lato; color: black; } h4 { font-size: 14pt; font-family: Lato; color: black; } a { font-size: 12pt; font-family: Lato; color: #00718F; } a:hover { font-size: 12pt; color: #024F69; } a:target { font-size: 12pt; color: #032D42; } a:visited { font-size: 12pt; color: #00718f; } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } Recommended steps to follow: 1-) See if customer instance has a custom login widget:https://instancexxxx.service-now.com/nav_to.do?uri=sp_widget.do?sys_id=xxxxxx Below is the OOB login widget "Login" for each instance. https://instancexxxx.service-now.com/nav_to.do?uri=sp_widget.do?sys_id=6506d341cb33020000f8d856634c9cdc 2-) Compare the scripts Client Controller fields , and check line 56 in OOB: if (response.data.status == 'success') { if (c.data.multiFactorAuthEnabled) { c.server.get({ action: "multi_factor_auth_setup", directTo: response.data.redirect_url }).then(handleLoginResponse.bind(response), handleLoginResponse.bind(response)); } else { handleLoginResponse.call(response); } } else if (response.data.status == 'mfa_code_required') { $window.location = '/validate_multifactor_auth_code.do'; } else { // wrong username or password c.message = response.data.message; c.password = ""; c.username = ""; angular.element("#username").focus(); } When MFA is required, ServiceNow does not immediately return a "success" status. Instead, it provides a redirect_url to the MFA challenge page. The out-of-the-box login page automatically follows this redirect. 3-) Check the customer custom login widget, the redirect could only be followed if the login status equals "success" which means the MFA redirect is being ignored, preventing users from reaching the MFA page. So , as a next step: Option 1: Switch to the out-of-the-box login widget (quickest and lowest risk).Option 2: Suggest customer to apply the above change in OOB widget to customer custom widget and test with a user that has Enable multifactor authentication enabled.Once this change is applied, users who require MFA will be correctly redirected to the MFA challenge page.