Page MenuHomePhabricator

Add `bin/auth list-factors` and `bin/auth strip` to remove multi-factor auth
ClosedPublic

Authored by epriestley on Apr 30 2014, 11:57 AM.
Tags
None
Referenced Files
F18111350: D8909.id.diff
Tue, Aug 12, 10:57 AM
F18096488: D8909.id21144.diff
Fri, Aug 8, 7:17 AM
F17927474: D8909.id.diff
Jul 30 2025, 2:39 PM
F17914897: D8909.id21166.diff
Jul 29 2025, 7:51 PM
F17913449: D8909.diff
Jul 29 2025, 5:52 PM
F17806328: D8909.id21144.diff
Jul 25 2025, 1:41 PM
F17772061: D8909.id21166.diff
Jul 23 2025, 1:11 PM
F17748606: D8909.diff
Jul 22 2025, 12:11 AM
Subscribers

Details

Summary

Ref T4398. The major goals here is to let administrators strip auth factors in two cases:

  • A user lost their phone and needs access restored to their account; or
  • an install previously used an API-based factor like SMS, but want to stop supporting it (this isn't possible today).
Test Plan
  • Used bin/auth list-factors to show installed factors.
  • Used bin/auth strip with various mixtures of flags to selectively choose and strip factors from accounts.
  • Also ran bin/auth refresh to verify refreshing OAuth tokens works (small OAuth vs OAuth2 tweak).

Diff Detail

Repository
rP Phabricator
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

epriestley retitled this revision from to Add `bin/auth list-factors` and `bin/auth strip` to remove multi-factor auth.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: btrahan.
btrahan edited edge metadata.
This revision is now accepted and ready to land.Apr 30 2014, 5:39 PM
epriestley updated this revision to Diff 21166.

Closed by commit rP535cfa3ebebe (authored by @epriestley).