views:

1043

answers:

5

I am a neophyte with Ruby on Rails but I've created a couple of small apps. Anyway, I'm really interested in OpenID and I would like to implement OpenID authentication and maybe some Sreg stuff in a Rails app. All of the research that I have done has come up with articles that are out of date or just don't work for me. Since I'm so new to Rails I'm having difficulty debugging the issues so...

What is the best way to implement OpenId in Rails?

Thanks

+9  A: 

Have you watched Ryan Bates' excellent Railscast on OpenID Authentication?

John Topley
I am so addicted to Railscast now! Thanks!
martinatime
A: 

@John Topley

I tried one night during my research but something happened to my network connection [hotel wifi :-( ] or there was something wrong with the link because I couldn't get it going. I'll take a look at the link you supplied when I have a moment.

Update: I've watched episodes #67 and #68 and am still having some minor issues. I think I need to clear my head and start fresh tomorrow. Thanks again

Midnight Update: I've just re-watched the two episodes above and re-implemented them. After having a few issues I searched through the user comments and found matching answers and now I have it working. Thanks again.

martinatime
+1  A: 

I can recommend AuthLogic for OpenID:

http://www.binarylogic.com/2008/11/21/tutorial-using-openid-with-authlogic/

Ariejan
http://railscasts.com/episodes/170-openid-with-authlogic - Railscast
Omar Qureshi
Thanks! I will check it out when I have some time.
martinatime
+1  A: 

Check out this:

http://github.com/shripadk/authlogic_openid_selector_example

A complete app using authlogic-openid with jquery selector and auto-registration. Cheers :)

Shripad K
A: 

There is now a community wiki for this question: http://stackoverflow.com/questions/66885/openid-support-for-ruby-on-rails-application

squadette