3 ms·
You could create an identities table which consists of a provider and a uid where Users have many identities. Something similar to this: https://github.com/int
by jgrowl 12y ago
You could create an identities table which consists of a provider and a uid where Users have many identities. Something similar to this:
https://github.com/intridea/omniauth/wiki/Managing-Multiple-Providers https://github.com/intridea/omniauth/wiki/Managing-Multiple-...
Use what works for you obviously, but this would have the benefit of scaling easier if you end up ever needing to support additional providers.