更新时间:2021-12-01 14:58:54
Devise/OmniAuth的优点在于它与其他API(Twitter,Facebook等)的无缝集成.
The good thing about Devise/OmniAuth is its seamless integration with other API's (Twitter, Facebook, etc).
您可以尝试使用现有的gem来制作自己与Clearance的自定义集成.例如: https://github.com/nsanta/fbgraph (尽管尚未维护此gem等一下).仍然运作良好.
You could try to use existing gems to cook up your own custom integration with Clearance. For example: https://github.com/nsanta/fbgraph (Although this gem hasn't been maintained in a while). Still works well.
还有Koala https://github.com/arsduo/koala -使用OAuth身份验证和Facebook Graph API.
There is also Koala https://github.com/arsduo/koala - works with OAuth authentication and Facebook Graph API.