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
F13088244: D20117.diff
Thu, Apr 25, 1:21 AM
Unknown Object (File)
Sat, Apr 20, 4:33 PM
Unknown Object (File)
Thu, Apr 4, 3:35 AM
Unknown Object (File)
Mon, Apr 1, 3:11 AM
Unknown Object (File)
Mon, Apr 1, 1:05 AM
Unknown Object (File)
Tue, Mar 26, 12:57 PM
Unknown Object (File)
Tue, Mar 26, 12:56 PM
Unknown Object (File)
Feb 3 2024, 9:14 PM
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