-
Notifications
You must be signed in to change notification settings - Fork 220
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
Skip previous confirmation code validation for lite user signup resend email flow #783
Skip previous confirmation code validation for lite user signup resend email flow #783
Conversation
PR builder started |
PR builder completed |
PR builder started |
PR builder completed |
PR builder started |
PR builder completed |
PR builder started |
PR builder completed |
PR builder started |
PR builder completed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving the pull request based on the successful pr build https://github.com/wso2/product-is/actions/runs/7041212229
Users who register to Asgardeo and do not complete the registration process, and reattempts after 30 days are not able to create an account.
In the implementation of the resend functionality, there is a validation step to check for the existing confirmation code [1] and the resend flow is failing due to the data not being available due to a cleanup task.
Validation against an existing confirmation code is not required for resending the emails for lite users.
In the current implementation, even if an existing confirmation code exists, it is invalidated and a new code is sent.
Proposed changes in this pull request
Related Issue
[1]
identity-governance/components/org.wso2.carbon.identity.recovery/src/main/java/org/wso2/carbon/identity/recovery/confirmation/ResendConfirmationManager.java
Line 430 in 6824e1e
When should this PR be merged
Can be merged now
Checklist (for reviewing)
General
Functionality
Code
Tests
Security
Documentation