-
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
Account - Unable to authenticate a new account #46293
Comments
Triggered auto assignment to @arosiclair ( |
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
|
Reproduced on staging v9.0.13-2. No magic code is received from the contact method page but the code still works from the sign in page. |
On prod v9.0.12-0, opening the contact method page also does not send a magic code like it should. However, clicking
|
Alright switching the the prod API fixes the |
I think this is probably due to https://github.com/Expensify/Web-Expensify/pull/42825 cc @dangrous After creating a new account, we're calling |
Alright I was able to reproduce in dev and reverting https://github.com/Expensify/Web-Expensify/pull/42825 fixed the issue. The root problem is that setting
I think this approach was probably the wrong one anyway (should just check if the login is secondary in Auth rather than passing params), so I'm going to post a PR to have this reverted. |
oh i see, so even for a non-secondary account we're still sending that RequestContactMethodValidateCode command. I missed that that was for the primary as well. Unfortunately checking whether or not it's the secondary in auth won't work because we use the same logic to send magic codes, as well as send validate codes, which shouldn't really be the case... But as it is, it may be tricky to split this up into the different cases (Magic code primary login, magic code secondary login, validation primary login, validation secondary login). I'll give it another go later today or more likely next week. |
CP request here |
IIRC "magic codes" and "validate codes" are all the same thing so I don't think we need to change any logic. Just change the email template depending on if its primary/secondary. I might be wrong though. @johnmlee101 or @NikkiWines would probably be helpful. |
yeah it's more about the emails - I had managed to get the right one sent out for three out of the four cases, but missed the fourth one. |
Yeah, there isn't really a difference between magic codes and validate codes - it's just newer and older terminology. Unsubscribe codes and the CTA codes are distinct though as they aren't time limited |
This was already fixed on staging so we should be all set |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 9.0.13-0
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Issue reported by: Applause - Internal Team
Action Performed:
Expected Result:
Magic sign-in code is received when trying to authenticate a new account
Actual Result:
Magic sign-in code is not received when trying to authenticate a new account
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6553385_1721979079518.2024-07-26_10_12_50.mp4
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: