Welcome to the WSO2 Identity Server source code! For info on working with the WSO2 Identity Server repository and contributing code, click the link below.
Describe the issue:
When an application is configured with MFA as sign in options and for the 2nd factor, if we configure multiple options such as sms OTP and TOTP if the user get locked out for inserting invalid sms OTPs the error should display that the user is locked out for x many minutes. Instead the error displays something went wrong.
How To Reproduce:
Create an application.
Add sms OTP and TOTP as the 2nd factor of the sign-in methods.
Save the application.
Configure the client application with the correct client id and base url.
Try sign in.
For the 2nd factor choose email otp.
Give invalid codes for email OTP input.
After your final attempt you will get directed to a something went wrong page.
Expected behavior:
The error message should be you got locked out for x many minutes.
Describe the issue: When an application is configured with MFA as sign in options and for the 2nd factor, if we configure multiple options such as sms OTP and TOTP if the user get locked out for inserting invalid sms OTPs the error should display that the user is locked out for x many minutes. Instead the error displays something went wrong.
How To Reproduce:
Expected behavior: The error message should be you got locked out for x many minutes.
Environment information