You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Duplicate GitHub OAuth info to a linked_accounts table (deploy 1)
That has a `provider` column that will (for now) always be set to 0,
which corresponds to `AccountProvider::Github`.
The table's primary key is (provider, account_id), which corresponds to
(0, gh_id). This constraint will mean a particular GitHub/GitLab/etc
account, identified from the provider by an ID, may only be associated
with one crates.io user record, but a crates.io user record could
(eventually) have *both* a GitHub *and* a GitLab account associated with
it (or two GitHub accounts, even!)
This is the first step of many to eventually allow for crates.io
accounts linked to other OAuth providers in addition/instead of GitHub.
No code aside from one test is reading from the linked accounts table at
this time.
No backfill has been done yet.
No handling of creating/associating multiple OAuth accounts with one
crates.io account has been done yet.
0 commit comments