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
F18703220: D21028.diff
Sun, Sep 28, 3:18 AM
F18680937: D21028.diff
Fri, Sep 26, 3:34 AM
F18672627: D21028.id.diff
Thu, Sep 25, 7:57 AM
F18658747: D21028.diff
Tue, Sep 23, 8:11 AM
F18648895: D21028.id.diff
Sat, Sep 20, 5:48 PM
F18618742: D21028.id50093.diff
Sep 15 2025, 12:51 AM
F18446311: D21028.id50094.diff
Aug 31 2025, 9:28 PM
F18185238: D21028.id.diff
Aug 16 2025, 3:33 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
Branch
gauth1
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 23915
Build 32908: Run Core Tests
Build 32907: arc lint + arc unit

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.