Skip to content

[eas-cli] Simplify 2FA now that SMS is no longer supported#3859

Open
wschurman wants to merge 1 commit into
mainfrom
06-12-_eas-cli_simplify_2fa_now_that_sms_is_no_longer_supported
Open

[eas-cli] Simplify 2FA now that SMS is no longer supported#3859
wschurman wants to merge 1 commit into
mainfrom
06-12-_eas-cli_simplify_2fa_now_that_sms_is_no_longer_supported

Conversation

@wschurman

@wschurman wschurman commented Jun 12, 2026

Copy link
Copy Markdown
Member

Why

SMS 2FA is no longer supported, only authenticator (TOTP). Therefore, we can remove parts of the no-browser login flow that supported SMS 2FA.

Equivalent of expo/expo#46879.

How

Remove the fallback device picker and SMS logic. The flow is now:

  1. Try login with username/password
  2. Catch ONE_TIME_PASSWORD_REQUIRED error, ask for OTP/backup code.
  3. User enters it or cancels.
  4. Login call with username/password/otp.

Test Plan

neas login --no-browser to an account that has 2fa set up.

Copy link
Copy Markdown
Member Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@wschurman wschurman force-pushed the 06-12-_eas-cli_simplify_2fa_now_that_sms_is_no_longer_supported branch 2 times, most recently from 0c71944 to 9c874d3 Compare June 12, 2026 22:59
@codecov

codecov Bot commented Jun 12, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 58.38%. Comparing base (22fc4da) to head (f56c6ed).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3859      +/-   ##
==========================================
- Coverage   58.42%   58.38%   -0.04%     
==========================================
  Files         917      917              
  Lines       39994    39953      -41     
  Branches     8418     8407      -11     
==========================================
- Hits        23363    23322      -41     
  Misses      16536    16536              
  Partials       95       95              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@wschurman wschurman force-pushed the 06-12-_eas-cli_simplify_2fa_now_that_sms_is_no_longer_supported branch from 9c874d3 to f427875 Compare June 12, 2026 23:15
@wschurman wschurman marked this pull request as ready for review June 12, 2026 23:27
@wschurman wschurman requested review from ide and quinlanj June 12, 2026 23:27
@github-actions

Copy link
Copy Markdown

Subscribed to pull request

File Patterns Mentions
**/* @douglowder

Generated by CodeMention

@wschurman wschurman force-pushed the 06-12-_eas-cli_simplify_2fa_now_that_sms_is_no_longer_supported branch from f427875 to f56c6ed Compare June 12, 2026 23:40
@github-actions

Copy link
Copy Markdown

✅ Thank you for adding the changelog entry!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant