开发者

What OpenId plugin/gem shall I use for my Rails application?

开发者 https://www.devze.com 2022-12-22 00:53 出处:网络
There are so many plugins/gems but must of them have outdated documentation or no documentation at all.

There are so many plugins/gems but must of them have outdated documentation or no documentation at all.

From what I have seen there are the Rails openid, Eastmedia openid, Authlogic openid, rails kit openid plugins and from a gem search we have rails_openid, pelle-ruby-openid, rack-openid, openid_auth, openid_fu_generator, openid_login_generator, among others.

Those plugins documented in some blog do not work for me on rails 2.3.5/ruby 1.9.1 and I always get stuck at some point. I can install all plugins via gems but the documentation leaves me wondering how these are to be used in my Rails application.

So what would be the best plugin/gem or even better a recent tutorial on how to implement a Rails 2.3.5 / Ruby 1.9.1 application with Restful O开发者_运维知识库pen ID authentication? If the plugin/gem supports OpenID/Oauth hybrid would be better as I plan to add OAuth latter to share contents between several of my applications.


This one is featured on openid website, so it's quite mature:
http://github.com/openid/ruby-openid

It has not working examples, but this railcast provided more than enough information for me:
http://railscasts.com/episodes/68-openid-authentication

0

精彩评论

暂无评论...
验证码 换一张
取 消