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
F15397873: D20117.id48032.diff
Sun, Mar 16, 10:43 PM
F15387410: D20117.diff
Sat, Mar 15, 2:20 AM
F15338012: D20117.id.diff
Sun, Mar 9, 8:50 AM
F15308737: D20117.diff
Thu, Mar 6, 6:37 AM
Unknown Object (File)
Wed, Feb 19, 9:47 AM
Unknown Object (File)
Feb 9 2025, 7:07 AM
Unknown Object (File)
Feb 9 2025, 7:07 AM
Unknown Object (File)
Feb 9 2025, 7:07 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