-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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-05] [$1000] Desktop - Sign in - User can not validate an account #17724
Comments
Triggered auto assignment to @arielgreen ( |
Bug0 Triage Checklist (Main S/O)
|
@mvtglobally @kbecciv In the video, you are clicking the link which goes to production, is that not part of the problem? I am not sure |
@arielgreen Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
Triggered auto assignment to @tjferriss ( |
Bug0 Triage Checklist (Main S/O)
|
Job added to Upwork: https://www.upwork.com/jobs/~016ce9697b87884431 |
Current assignee @tjferriss is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @rushatgabhane ( |
Triggered auto assignment to @bondydaa ( |
Following up on @mountiny question. |
@mountiny @tjferriss the account creation is done in STG app. Should the link be sent as STG as well? Maybe that's the root cause. I will ask team to Not click the link, but paste and modify to staging to check |
Looks to be still repro after URLs switch as well IMG_8689.MOV |
Lines 27 to 38 in eb9df25
In older versions, after we render the redirection screen, isRootMounted is true, and the splash screen can be automatically removed by the setInterval .However, this logic has been deleted in the new version. The splash screen can only deleted by NavigationRoot . If we render the redirection screen, NavigationRoot does not exist. (There is no redirection screen in PR #17477, so it can work well).
Line 202 in 619a529
This issue is just one example of the magic link flow. I'm thinking if we can solve them from the root cause, more scenarios will benefit from it. Is it worth a try? For example, the following: intuitively, users can choose to login on chrome, but it still shows expired. chrome.mp4
I fully understand. Just that slack also does not show the redirection screen for the magic code flow. And I investigated these things not to propose a solution or oppose the approved solution. iphone.mp4Btw, In my humble opinion, displaying this page is fine, just that the code below will incorrectly consume the magic code, which needs to be fixed. For example, if all users can use magic code, can we remove this condition? if not, when the component is mounted, can we first get the betas data through a command? App/src/pages/ValidateLoginPage/index.website.js Lines 66 to 69 in 16776ec
If we eventually want to keep the redirection screen to prevent the |
Hi, new progress, I just found PR #19819, it changes the condition and prevents the magic code from being incorrectly consumed, which will also fundamentally fix this issue. : ) |
@ntdiary this changes only work for fresh session. If user used to login or visit the Expensify Web before, I think it won't fix this issue. |
@hoangzinh, Were you referring to logging in on the web first, then opening the link from email, and then opening the desktop app? If so, this case can work well in old versions. case2.mp4 |
@ntdiary I mean "used to visited", not really meant already signed. If you're already signed in, ofc it won't validate with the code. |
@hoangzinh, eh, sorry, could you please explain the essential difference between "used to visited" and "fresh session"? Or what are the specific steps of the former? In my humble opinion, these two issues are essentially caused by the missing onyx App/src/pages/ValidateLoginPage/index.website.js Lines 66 to 69 in 16776ec
|
Looks like we're still waiting on this PR to see if it fixes the issue #19819 |
sorry i haven't really been following 100% here but didn't we merge the deploy the code here? did it get reverted or is it breaking something? If not let's get payment done then and we can spin up new issues if needed to address other things. |
@bondydaa, because the redirection component can't remove the splash screen, if we install the desktop app, we will not be able to log in by clicking the magic link from the mailbox in the browser (get stuck on the splash screen). I personally think this is a regression, would appreciate if you could share your thoughts on this. : ) test.mp4In addition, because PR #19819 also fixed this issue, so I plan to remove the redirection component in my PR #17452, this can also allow us to get rid of the App/src/components/DeeplinkWrapper/index.website.js Lines 79 to 85 in 9d492f1
|
Disagree on it. Because I started my PR before this PR is merged. I mean 2 PR is working independently, it's hard to detect they would break each other.
Thanks @ntdiary . If we all agree that we don't need to use redirection page anymore, then I think it's okay to remove it. |
@bondydaa because I'm the one who assigned to this issue so my suggestion might be not totally correct. The PR #19819 had a better idea to also fix this issue. We might remove what we done here (to reduce double redirection page) but we already put effort to implement redirection page here so I hope I can get paid. |
Personally, I think it's good to get the payment done and then close this issue. And I would appreciate if @hoangzinh can also help confirm that this issue does go away in my PR #17452 (without redirection page) : ) |
Great, I think we're all in agreement. We're going to process the payment and close this issue. @rushatgabhane @hoangzinh I've sent both of you an offer in Upworks. |
Accepted offer. Thanks @tjferriss |
@tjferriss Applied using account "Satish Gabhane", thanks! - https://www.upwork.com/freelancers/~01212e8255b02ae924 context - https://expensify.slack.com/archives/C02NK2DQWUX/p1683614947522329 |
@rushatgabhane @hoangzinh I've sent you both offers in Upworks. |
Accepted offer. Thanks @tjferriss |
The payments have been made in Upworks. |
@tjferriss it seems you haven't end my contract/offer in Upwork yet. Could you help to check it? Thanks |
@hoangzinh it now looks like the contract has ended. |
it's weird. I just send you a message in Upwork so you can check the contract easily. |
I think I found it now and ended the contract. |
Yay, thanks @tjferriss |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Issue found when executing PR #17697
Action Performed:
Expected Result:
User expects the password to be saved and the new account to be open
Actual Result:
The user keeps receiving an error message saying that the link has expired, making it impossible to validate an account via Desktop app.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.2.3
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
Bug6025598_Cant_validate_on_desktop.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: