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:
SMS OTP failure flow does not include the user in the Authentication flow [1]. As a result, the username is not included in the analytics event published[2] [3].
Describe the issue: SMS OTP failure flow does not include the user in the Authentication flow [1]. As a result, the username is not included in the analytics event published[2] [3].
[1] https://github.com/wso2-extensions/identity-outbound-auth-sms-otp/blob/2.0.x/component/authenticator/src/main/java/org/wso2/carbon/identity/authenticator/smsotp/SMSOTPAuthenticator.java#L798
[2] https://github.com/wso2/carbon-identity-framework/blob/v5.14.147/components/authentication-framework/org.wso2.carbon.identity.application.authentication.framework/src/main/java/org/wso2/carbon/identity/application/authentication/framework/AbstractApplicationAuthenticator.java#L159C20-L159C52
How to reproduce:
[3] https://is.docs.wso2.com/en/5.9.0/learn/configuring-sms-otp/#enable-smsotp [4] https://is.docs.wso2.com/en/5.9.0/learn/configuring-identity-analytics/#enable-analytics
Expected behavior: The username should be included in the published event in the SMS Failure flow.
Environment information (Please complete the following information; remove any unnecessary fields) :
Product Version: IS 5.9.0
Optional Fields
Related issues: https://github.com/wso2/product-is/issues/20434