Showing changes from revision #3 to #4:
Added | Removed
The RESTful OpenID Authentication plugin is a combination of the restful_authentication plugin and the Consumer Plugin. It was designed to provide Open ID authentication that uses the modern Rails convention of RESTful design.
The plugin is located at:
http://svn.eastmedia.com/svn/bantay/plugins/trunk/restful_open_id_authentication
You can install it via:
./script/plugin install http://svn.eastmedia.com/svn/bantay/plugins/trunk/restful_open_id_authentication
View the README for installation and usage instructions.
note from volh
There is < form_for @user do |f| > in /users/new.rhtml
Needed to change that to < form_for :user, :url => users_path do |f| > to work properly
note from matt
Is there a bug tracker/mailing list that we can submit patches to?
eg.
lib/controller_methods
def begin_open_id_auth return if params[:open_id_url].blank? @open_id_response = open_id_consumer.begin(params[:open_id_url]) add_sreg_params!(@open_id_response) if @open_id_response.status == OpenID::SUCCESS end
if params[:open_id_url].blank? flash[:notice] = "OpenId was not entered" render :action => :new and return end