R – Using Javascript OpenID Selector with Rails

authenticationopenidopenid-selectorrubyruby-on-rails

Based on this article, it seems like SO is using Javascript OpenID Selector (JOIS) to handle OpenID logins in its "view".

I love the simple interface and I would like to use it in a Rails project.

I know that RPX would probably be the easier choice, but I'd like to build this on my own.

Can you help me find answers to a few questions I have?

  1. Has anyone of you already done this
    or does anyone know of a good
    example?
  2. What setup (combination of
    plugins/gems) would you recommend if
    I'm using JOIS in my
    view?
  3. Is there a JOIS
    implementation (or anything similar besides RPX) based on Prototype
    instead of JQuery?
  4. Will I need another library besides the Ruby OpenID library
    to support all the account providers (OpenID, Google, Yahoo, etc.) supported
    by JOIS?

Thank you!

Best Answer

In answer to #4, no. All the options provided by the OpenID Selector are standard OpenID Providers and the ruby OpenID library (I'm assuming you're talking about the Janrain one) supports all of them.

Sorry I can't help you with the rest. I haven't actually used the Ruby library myself for over 3 years.