Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[User Attribute Change Verification] The "Enable user mobile number verification on update" /"Enable user email verification on update" is getting triggered when "adding" a mobile number/email #19719

Closed
GoushiRam opened this issue Feb 20, 2024 · 2 comments · Fixed by wso2/identity-apps#5573 or wso2-extensions/identity-event-handler-notification#220
Assignees
Labels

Comments

@GoushiRam
Copy link

Describe the issue:
Scenario 1:
With the "Enable user mobile number verification on update" checked and the consumer user/admin tries to update the business user mobile number/email details
When adding a mobile number for an existing consumer user (not an update, but adding), the SMS cannot be triggered for the existing mobile, since the mobile number is blank. So this config should be exempted if the existing mobile number is blank/null.

Scenario 2:
Same behaviour is applicable if the email address is blank and "Enable user email verification on update" is checked

How to reproduce:

  1. Check "Enable user email verification on update" under User Attribute Change configuration
  2. Navigate to a consumer user with no mobile numbers
  3. Add a mobile number and verify the behaviour

Expected behavior:
The mobile number should be allowed to add

Environment information (Please complete the following information; remove any unnecessary fields) :

  • Product Version: [e.g., IS 5.10.0, IS 5.9.0]
  • OS: [e.g., Windows, Linux, Mac]
  • Database: [e.g., MySQL, H2]
  • Userstore: [e.g., LDAP, JDBC]

Optional Fields

Related issues:

Suggested labels:

@GoushiRam GoushiRam changed the title [User Attribute Change Verification] The "Enable user mobile number verification on update" /"Enable user email verification on update" is getting triggered when "adding" a mobile number [User Attribute Change Verification] The "Enable user mobile number verification on update" /"Enable user email verification on update" is getting triggered when "adding" a mobile number/email Feb 20, 2024
@UdeshAthukorala UdeshAthukorala self-assigned this Feb 20, 2024
@UdeshAthukorala UdeshAthukorala moved this from Open to In Progress in Identity Server 7.0.0 Feb 20, 2024
@UdeshAthukorala
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
3 participants