Expensify / App

Welcome to New Expensify: a complete re-imagination of financial collaboration, centered around chat. Help us build the next generation of Expensify by sharing feedback and contributing to the code.
https://new.expensify.com
MIT License
3.34k stars 2.77k forks source link

[$250] Contact method - Auth CanAddSecondaryLogin error after entering incorrect magic code #48986

Open IuliiaHerets opened 6 days ago

IuliiaHerets commented 6 days ago

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.32-0 Reproducible in staging?: Y Reproducible in production?: Y Email or phone of affected tester (no customers): applausetester+kh010901@applause.expensifail.com Issue reported by: Applause Internal Team

Action Performed:

  1. Go to staging.new.expensify.com
  2. Go to Account settings > Contact method.
  3. Click Add contact method.
  4. Enter a new contact method > Next.
  5. Enter incorrect magic code.

Expected Result:

Wrong magic code error magic will be shown.

Actual Result:

App returns to contact method page. When clicking on the new contact method, it shows Auth CanAddSecondaryLogin.

Workaround:

Unknown

Platforms:

Screenshots/Videos

https://github.com/user-attachments/assets/b43c9678-f3a1-43bd-9c9d-ff75bb89cc5a

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021834245266507223637
  • Upwork Job ID: 1834245266507223637
  • Last Price Increase: 2024-09-12
Issue OwnerCurrent Issue Owner: @aimane-chnaif
melvin-bot[bot] commented 6 days ago

Triggered auto assignment to @lschurr (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.

IuliiaHerets commented 6 days ago

@lschurr FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors

huult commented 5 days ago

Proposal

Please re-state the problem that we are trying to solve in this issue.

Auth CanAddSecondaryLogin error after entering incorrect magic code

What is the root cause of that problem?

Backend returned error message: 'Auth CanAddSecondaryLogin returned an error.'

Screenshot 2024-09-12 at 11 29 45

What changes do you think we should make in order to solve the problem?

The backend must update the 'wrong magic code' message and return it to the client

melvin-bot[bot] commented 5 days ago

Job added to Upwork: https://www.upwork.com/jobs/~021834245266507223637

melvin-bot[bot] commented 5 days ago

Triggered auto assignment to Contributor-plus team member for initial proposal review - @aimane-chnaif (External)

aimane-chnaif commented 5 days ago

Looks like backend issue 🎀👀🎀

melvin-bot[bot] commented 5 days ago

Triggered auto assignment to @mjasikowski, see https://stackoverflow.com/c/expensify/questions/7972 for more details.

mjasikowski commented 4 days ago

Looking at the backend error

melvin-bot[bot] commented 2 hours ago

@mjasikowski, @lschurr, @aimane-chnaif Eep! 4 days overdue now. Issues have feelings too...