Page MenuHomePhabricator

Make external link/refresh use provider IDs, switch external account MFA to one-shot
ClosedPublic

Authored by epriestley on Feb 7 2019, 1:43 AM.
Tags
None
Referenced Files
F19095324: D20117.id.diff
Thu, Dec 4, 4:50 AM
F19093201: D20117.diff
Wed, Dec 3, 8:46 PM
F18862854: D20117.diff
Nov 2 2025, 9:17 PM
F18809104: D20117.diff
Oct 19 2025, 11:12 AM
F18807688: D20117.id48032.diff
Oct 19 2025, 2:59 AM
F18744811: D20117.id.diff
Oct 3 2025, 4:15 AM
F18742774: D20117.diff
Oct 2 2025, 9:19 PM
F18709819: D20117.id.diff
Sep 29 2025, 1:00 AM
Subscribers
None

Details

Summary

Depends on D20113. Ref T6703. Continue moving toward a future where multiple copies of a given type of provider may exist.

Switch MFA from session-MFA at the start to one-shot MFA at the actual link action.

Add one-shot MFA to the unlink action. This theoretically prevents an attacker from unlinking an account while you're getting coffee, registering alIce which they control, adding a copy of your profile picture, and then trying to trick you into writing a private note with your personal secrets or something.

Test Plan

Linked and unlinked accounts. Refreshed account. Unlinked, then registered a new account. Unlinked, then relinked to my old account.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable