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
F13522597: D21028.id.diff
Fri, Jul 26, 7:11 AM
Unknown Object (File)
Thu, Jul 25, 8:29 PM
Unknown Object (File)
Sat, Jul 20, 10:09 PM
Unknown Object (File)
Tue, Jul 16, 9:42 PM
Unknown Object (File)
Fri, Jul 12, 7:28 PM
Unknown Object (File)
Fri, Jul 12, 5:21 AM
Unknown Object (File)
Fri, Jul 5, 11:17 PM
Unknown Object (File)
Thu, Jul 4, 12:12 AM
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.