-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[HOLD for payment 2023-06-19] [$1000] Web - Sign in - Blank screen instead of 'Abracadabra, you are signed in!' for 2FA account #20136
Comments
Triggered auto assignment to @lschurr ( |
Bug0 Triage Checklist (Main S/O)
|
ProposalPlease re-state the problem that we are trying to solve in this issue.Web - Sign in - Blank screen instead of 'Abracadabra, you are signed in!' for 2FA account What is the root cause of that problem?Problem came from here: App/src/pages/ValidateLoginPage/index.website.js Lines 120 to 135 in 0813e2c
And here: App/src/pages/ValidateLoginPage/index.website.js Lines 81 to 83 in 0813e2c
After opening the link, the user is signed in with Session.signInWithValidateCode(this.getAccountID(), this.getValidateCode(), this.props.preferredLocale); and after that,currentAuthState turned into just-signed-in and with the user that doesn't have 2FA Required, all the conditions in the render() function are now false, so we will see the blank page.
What changes do you think we should make in order to solve the problem?I think in case user are already signed in, we should redirect them to the Report route instead of return. componentDidmount() {
// other code above
if ((isSignedIn || !login) && !lodashGet(this.props, 'account.requiresTwoFactorAuth', false)) {
// redirect user to LHN if they are already logged in and they don't have 2FA required.
Navigation.navigate(ROUTES.REPORT);
return;
}
// The user has initiated the sign in process on the same browser, in another tab.
Session.signInWithValidateCode(this.getAccountID(), this.getValidateCode(), this.props.preferredLocale); What alternative solutions did you explore? (Optional)N/A |
Looks like something related to As a reminder, please make sure that all proposals are not workarounds and that any and all attempt to fix the issue holistically have been made before proceeding with a solution. Proposals to change our Feel free to drop a note in #expensify-open-source with any questions. |
Job added to Upwork: https://www.upwork.com/jobs/~0119247f265de126ed |
Current assignee @lschurr is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @allroundexperts ( |
Triggered auto assignment to @chiragsalian ( |
Contributor details |
✅ Contributor details stored successfully. Thank you for contributing to Expensify! |
Current assignee @allroundexperts is eligible for the Internal assigner, not assigning anyone new. |
Taking this one over as it affects a critical flow in the App. |
Contributor details |
✅ Contributor details stored successfully. Thank you for contributing to Expensify! |
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results. If a regression has occurred and you are the assigned CM follow the instructions here. If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.26-4 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2023-06-19. 🎊 After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
As a reminder, here are the bonuses/penalties that should be applied for any External issue:
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
@chiragsalian @cristipaval - is there anyone to pay for this job? |
@allroundexperts should be paid for the review |
@allroundexperts - Could you apply for the job in Upwork? https://www.upwork.com/jobs/~0119247f265de126ed |
Applied. Thanks! |
Offer sent! |
Paid. Closing! |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Issue found when executing PR #19260
Action Performed:
Expected Result:
Observe that it should now show 'Abracadabra, you are signed in!'
Actual Result:
Blank screen is displayed instead of 'Abracadabra, you are signed in!'
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.23.6
Reproducible in staging?: yes
Reproducible in production?: no
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Bug6079302_video_49__3_.mp4
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: