OmniAuth Identity 利用和 OmniAuth 相同的机制,很方便,但需要增加一个 Identity 表,而且和 User 表有重复。 这里有篇文章,介绍怎么把 Identity 放到 User model 里。 http://bernardi.me/2012/09/using-multiple-omniauth-providers-with-omniauth-identity-on-the-main-user-model/