-
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
[C+ payment required, Situ out until May] [HOLD for payment 2024-04-03] [$500] Desktop - Login - Unable to enter the 2FA code or exit the opened screen on desktop #34177
Comments
Job added to Upwork: https://www.upwork.com/jobs/~0183573e4ff04521ad |
Triggered auto assignment to @peterdbarkerUK ( |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @thesahindia ( |
ProposalPlease re-state the problem that we are trying to solve in this issueWhen the desktop is launched by the magic code link via web - desktop prompt, we see a 2FA blocker screen asking to enter the magic code, with no field and no option to exit the screen. What is the root cause of that problem?The root cause of this happening stems from within For example the flow on web goes as follows:
What changes do you think we should make in order to solve the problem?My solution is to create a desktop specific library if ((autoAuthState === CONST.AUTO_AUTH_STATE.NOT_STARTED || autoAuthState === CONST.AUTO_AUTH_STATE.JUST_SIGNED_IN) && !isSignedIn) {
Navigation.isNavigationReady().then(() => Navigation.resetToHome());
} Notes:
This will handle both 2FA / non-2FA login flows when transitioned from web -> desktop. The lib function will take in as arguments VideosMacOS: Desktop (+ edge case flow fix)Screen.Recording.2024-01-10.at.04.mp4
5821f276-3cf1-4141-a6bf-cfa4861f0607.mp4 |
ProposalPlease re-state the problem that we are trying to solve in this issue.When the desktop is launched by the magic code link, there's just a blocker screen asking to enter the magic code, with no field and no option to exit the screen What is the root cause of that problem?By design here, we don't want to prompt opening the desktop app for magic link (The The problem here is that when the magic link is opened for the first time, What changes do you think we should make in order to solve the problem?If we're on the magic link route and the Later once it's initialized, the So the steps are:
(same condition we're already using in here, can extract to an util method for easy reuse)
or
What alternative solutions did you explore? (Optional)NA |
Updated proposal
|
@peterdbarkerUK, @thesahindia Huh... This is 4 days overdue. Who can take care of this? |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
Won't be able to take this! Please reassign. |
I can take over |
📣 @situchan 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
Note on the above, @situchan is added as the reviewer |
Hmmm, I can't reproduce this: the link takes me to the desktop app and successfully logs me in. @ikevin127 @tienifr @situchan are you able to reproduce? |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.56-8 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 2024-04-03. 🎊 For reference, here are some details about the assignees on this 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:
|
$500 to @ikevin127 and $500 to @situchan |
Note I did receive an Upwork Contributor offer for this issue on 12th of March despite this message, but I cannot accept it as it errors (see error below) - therefore I declined it and will await BZ manual offer 🙌 |
Sounds good! Payment summary as follows:
Offers sent. |
@trjExpensify Offer accepted, thank you! 🥳 |
Paid you! |
Situ is out until May, so this is going to sit until then. Updated the title to make that clear. |
Still awaiting Situ's return. |
@situchan - are you back? |
Still waiting on Situ so I can pay this. |
Sorry for late. I think job expired. Can you please send new offer? |
Offer sent! |
Situ 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!
Version Number: 1.4.23-0
Reproducible in staging?: Y
Reproducible in production?: Y
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
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Action Performed:
Prerequisites: User must be logged into web app as User A.
Expected Result:
When the desktop is launched by the magic code link, it glitches, briefly shows a skeleton and then returns to the first login screen
Actual Result:
When the desktop is launched by the magic code link, there's just a blocker screen asking to enter the magic code, with no field and no option to exit the screen
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6337005_1704825484892.2FA_-_Desktop.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @trjExpensifyThe text was updated successfully, but these errors were encountered: