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
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
The text was updated successfully, but these errors were encountered:
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.
![image](https://user-images.githubusercontent.com/78303749/219329940-0aa4ecd9-3506-4175-aac3-514867cc8146.png)
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
![image](https://user-images.githubusercontent.com/78303749/219335540-e54faa7a-ca21-439a-84c9-8aa5f2ba03e0.png)
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
The text was updated successfully, but these errors were encountered: