2

我正在尝试让我的应用程序与 twitter gem 一起使用,但我似乎无法使用 OAuth2 执行授权协议。我想知道是否有可用的示例应用程序,这样我就可以看到我做错了什么。

谢谢

4

2 回答 2

0

我不知道您使用的是什么身份验证引擎,但这里有一些omniauth + devise gem 的示例。

https://github.com/holden/devise-omniauth-example

https://github.com/bradrobertson/devise-omniauth-example

https://github.com/plataformatec/devise/wiki/Example-Applications

于 2013-01-27T20:00:04.183 回答
0

我维护了一个示例应用程序,该应用程序演示了如何使用 twitter gem 和 OmniAuth 使用“使用 Twitter 登录”工作流程。你应该能够通过查看它来弄清楚它。

https://github.com/sferik/sign-in-with-twitter

于 2013-01-29T03:36:06.390 回答