Skip to content

Commit 36eed27

Browse files
Merge pull request #6672 from inthirakumaaran/nativeAPI
Add proper status for failed nodes.
2 parents aab7346 + 45fc74d commit 36eed27

File tree

1 file changed

+1
-0
lines changed
  • components/authentication-framework/org.wso2.carbon.identity.application.authentication.framework/src/main/java/org/wso2/carbon/identity/application/authentication/framework/handler/sequence/impl

1 file changed

+1
-0
lines changed

components/authentication-framework/org.wso2.carbon.identity.application.authentication.framework/src/main/java/org/wso2/carbon/identity/application/authentication/framework/handler/sequence/impl/GraphBasedSequenceHandler.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -455,6 +455,7 @@ private void handleAuthFail(HttpServletRequest request, HttpServletResponse resp
455455
} else {
456456
// If isShowErrorPage is false, set parameters specific to fail function to context.
457457
setErrorPropertiesToContext(node, context);
458+
request.setAttribute(FrameworkConstants.RequestParams.FLOW_STATUS, AuthenticatorFlowStatus.FAIL_COMPLETED);
458459
}
459460
}
460461

0 commit comments

Comments
 (0)