OpenID support for Ruby on Rails application

前端 未结 8 1018
萌比男神i
萌比男神i 2020-12-25 13:02

What is current state of the art for enabling OpenID login in Ruby on Rails applications? This is a community wiki with up-to-date answers to this question.

Authlog

8条回答
  •  礼貌的吻别
    2020-12-25 13:31

    The definitive resource should be the rails wiki, although I use should advisedly because things have been changing quite fast when it comes to OpenID support.

    Ryan Bates' Railscast on Openid is the best thing I've found to follow. Even though it was recorded with Rails 1.2.3, I've been able to successfully follow the tutorial with Rails 2.1.0. The only point to note is that for:

    gem install ruby-openid
    

    I installed 2.1.2, rather than the 1.1.4 used in railscast.

    The OpenID plugin used is open_id_authentication, and I tested it in combination with restful_authentication from git://github.com/technoweenie/restful-authentication.git

    NB: I subsequently wrote this up in a blog post.

提交回复
热议问题