将 Facebook Connect 与 Authlogic 结合使用
我正在努力使 Authlogic 和 Facebook Connect(使用 Facebook)发挥良好作用,以便您可以通过正常注册方式或使用 Facebook Connect 创建帐户。 我已经能够以一种方式使连接正常工作,但注销仅在 Facebook 上注销,而不是在我的网站上注销,我必须删除 Cookie 才能使其正常工作。 任何帮助都会很棒,谢谢!
I am trying to make Authlogic and Facebook Connect (using Facebook) play nice so that you can create an account either the normal registration way or with Facebook connect. I have been able to get the connect to work one way but logging out only loggs out on facebook and not on my site, I have to delete the cookies to make it working. Any help would be awesome, thank you!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
刚刚尝试了omniauth和authlogic,这就像一个魅力
顺便说一句,authlogic-connect 已过时
您还有一个示例应用程序可供检查(Authlogic + Omniauth)
http://omniauth-authlogic-demo.heroku.com/
just tried omniauth with authlogic, that works like a charm
btw, authlogic-connect is out-dated
You also have an example app to check (Authlogic + Omniauth)
http://omniauth-authlogic-demo.heroku.com/
您是否尝试过 AuthLogic 的 Facebook Connect 扩展?
Have you tried the Facebook Connect extension for AuthLogic?
这是我使用 Facebook Connect 扩展、authlogic 和 Open ID 制作的示例应用程序。 它仍然需要一些工作,但它确实有效。
http://big-glow-mama.heroku.com/
http://github.com/holden/authlogic_openid_selector_example/tree/with-facebook/
Here's an example app I made using the Facebook Connect extension, authlogic and Open ID. It still needs some work, but it does function.
http://big-glow-mama.heroku.com/
http://github.com/holden/authlogic_openid_selector_example/tree/with-facebook/
这是一个很好的宝石。
http://github.com/viatropos/authlogic-connect
This is a good gem for that.
http://github.com/viatropos/authlogic-connect