Page MenuHomePhabricator

Read both email addresses and Google Account IDs from Google OAuth
ClosedPublic

Authored by epriestley on Feb 24 2020, 9:23 PM.
Tags
None
Referenced Files
F15574769: D21028.id50094.diff
Tue, May 6, 3:05 AM
F15562752: D21028.diff
Wed, Apr 30, 4:11 AM
F15467223: D21028.id50093.diff
Apr 3 2025, 1:48 PM
F15464996: D21028.diff
Apr 2 2025, 1:30 PM
F15461559: D21028.id50093.diff
Apr 1 2025, 9:15 AM
F15459832: D21028.diff
Mar 31 2025, 5:24 PM
F15443067: D21028.id50093.diff
Mar 27 2025, 2:05 AM
F15433085: D21028.id.diff
Mar 24 2025, 9:15 PM
Subscribers
None

Details

Summary

Ref T13493. Google returns a lower-quality account identifier ("email") and a higher-quality account identifier ("id"). We currently read only "email".

Change the logic to read both "email" and "id", so that if Google ever moves away from "email" the transition will be a bit easier.

Test Plan

Linked/unlinked a Google account, looked at the external account identifier table.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Feb 24 2020, 9:26 PM
This revision was automatically updated to reflect the committed changes.