You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The onFail function in the adaptive authentication script does not redirect the user to the next authenticator page. Instead, the end user is kept on the same page with an "Authentication Failed" error message.
Screen.Recording.2024-12-10.at.11.05.40.mov
Steps to Reproduce
Set up an Identity Server 7 instance with mail-sending capabilities.
Create an application with the following adaptive authentication configuration:
Step 1: Basic
Step 2: EmailOTP
Step 3: SMSOTP
Use the following script:
var onLoginRequest = function(context) {
executeStep(1, {
onSuccess: function (context) {
executeStep(2, {
onFail: function (context) {
executeStep(3);
}
});
}
});
};
Log in using valid credentials and provide an invalid Email OTP.
Expected Behavior:
The user should be redirected to Step 3 (SMSOTP) upon failing Step 2 (EmailOTP).
Version
7.0
Environment Details (with versions)
No response
The text was updated successfully, but these errors were encountered:
Description
The onFail function in the adaptive authentication script does not redirect the user to the next authenticator page. Instead, the end user is kept on the same page with an "Authentication Failed" error message.
Screen.Recording.2024-12-10.at.11.05.40.mov
Steps to Reproduce
Expected Behavior:
The user should be redirected to Step 3 (SMSOTP) upon failing Step 2 (EmailOTP).
Version
7.0
Environment Details (with versions)
No response
The text was updated successfully, but these errors were encountered: