Describe the bug?
-
While enrolling to security question, if user enters a answer which is below 4 characters expecting a error message "The security question answer must be at least 4 characters in length" along with exception.
Browser response - https://jsonblob.com/1075714156497485824

-
While enrolling to security question, if user tries to create a custom question using "Create Own Question" and enters same text for both question textbox and answer textbox expecting an error message "Fields must not match" along with exception.

What is expected to happen?
-
While enrolling to security question, if user enters a answer which is below 4 characters expecting a error message "The security question answer must be at least 4 characters in length" along with exception.
-
While enrolling to security question, if user tries to create a custom question using "Create Own Question" and enters same text for both question textbox and answer textbox expecting an error message "Fields must not match" along with exception.
What is the actual behavior?
In both cases we are getting null or empty string for error message in response.
Reproduction Steps?
- Try enrolling security question after primary authn (authenticateasync) and MFA using
- Enroll factor load method : SelectAuthenticatorAsync(); and then
- Enroll verify method : EnrollAsync();
Payload for EnrollAsync : {
Answer = answer,
QuestionKey = questionKey,
Question = questionfromoktaquestions
};
Response of EnrollAsync : https://jsonblob.com/1075719641854394368, expecting "The security question answer must be at least 4 characters in length" error message.
- Try enrolling security question after primary authn (authenticateasync) and MFA with custom question(where answer is matching question) using
- Enroll factor load method : SelectAuthenticatorAsync(); and then
- Enroll verify method : EnrollAsync();
Payload for EnrollAsync : {
Answer = answermatchingwithquestion,
QuestionKey = custom,
Question = customquestionfromuser
};
Response of EnrollAsync : https://jsonblob.com/1075720491280646144 , expecting "Fields must not match" error message.
Message is empty in both cases

Additional Information?
No response
.NET Version
.NET Core 3.1
SDK Version
Okta.Idx.Sdk 2.2.8 (latest dotnet sdk) and all lower versions as well
OS version
Windows 11 :
BuildNumber Caption OSArchitecture Version
22000 Microsoft Windows 11 Pro 64-bit 10.0.22000
Describe the bug?
While enrolling to security question, if user enters a answer which is below 4 characters expecting a error message "The security question answer must be at least 4 characters in length" along with exception.

Browser response - https://jsonblob.com/1075714156497485824
While enrolling to security question, if user tries to create a custom question using "Create Own Question" and enters same text for both question textbox and answer textbox expecting an error message "Fields must not match" along with exception.
What is expected to happen?
While enrolling to security question, if user enters a answer which is below 4 characters expecting a error message "The security question answer must be at least 4 characters in length" along with exception.
While enrolling to security question, if user tries to create a custom question using "Create Own Question" and enters same text for both question textbox and answer textbox expecting an error message "Fields must not match" along with exception.
What is the actual behavior?
In both cases we are getting null or empty string for error message in response.
Reproduction Steps?
Payload for EnrollAsync : {
Answer = answer,
QuestionKey = questionKey,
Question = questionfromoktaquestions
};
Response of EnrollAsync : https://jsonblob.com/1075719641854394368, expecting "The security question answer must be at least 4 characters in length" error message.
Payload for EnrollAsync : {
Answer = answermatchingwithquestion,
QuestionKey = custom,
Question = customquestionfromuser
};
Response of EnrollAsync : https://jsonblob.com/1075720491280646144 , expecting "Fields must not match" error message.
Message is empty in both cases

Additional Information?
No response
.NET Version
.NET Core 3.1
SDK Version
Okta.Idx.Sdk 2.2.8 (latest dotnet sdk) and all lower versions as well
OS version
Windows 11 :
BuildNumber Caption OSArchitecture Version
22000 Microsoft Windows 11 Pro 64-bit 10.0.22000