Jacek Becela
2007-Nov-21 11:29 UTC
Support for OpenID::SETUP_NEEDED in open_id_authentication plugin
Hello, This should interest anyone using open_id_authentication plugin. There is a bug in current version which causes that authenticate_with_open_id method doesn''t yield the result but silently returns when server returns with OpenID::SETUP_NEEDED response. This patch ( http://dev.rubyonrails.org/ticket/10231 ) resolves the problem. -- Jacek --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com To unsubscribe from this group, send email to rubyonrails-core-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---
Nicola Piccinini
2007-Nov-27 09:16 UTC
Re: Support for OpenID::SETUP_NEEDED in open_id_authentication plugin
I believe that SETUP_NEEDED should be considered in conjunction with immediate mode, I''ve added a second "proof of concept" patch to the ticket. By the way, there could be a problem with the open_id_authentication plugin and PostgreSQL adapter, I suppose. Please take a read to http://groups.google.com/group/rubyonrails-talk/tree/browse_frm/thread/7d2cd4ffaa517c78/dc7dd20033011438?rnum=1&q=openid&_done=%2Fgroup%2Frubyonrails-talk%2Fbrowse_frm%2Fthread%2F7d2cd4ffaa517c78%2Fdc7dd20033011438%3Flnk%3Dgst%26q%3Dopenid%26#doc_dc7dd20033011438 thanks, Nicola --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com To unsubscribe from this group, send email to rubyonrails-core-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---
Jacek Becela
2007-Dec-04 11:52 UTC
Re: Support for OpenID::SETUP_NEEDED in open_id_authentication plugin
On Nov 27, 10:16 am, Nicola Piccinini <piccin...@gmail.com> wrote:> I believe that SETUP_NEEDED should be considered in conjunction with > immediate mode, I''ve added a second "proof of concept" patch to the > ticket. > > By the way, there could be a problem with theopen_id_authentication > plugin and PostgreSQL adapter, I suppose. > Please take a read tohttp://groups.google.com/group/rubyonrails-talk/tree/browse_frm/threa... > thanks, > > NicolaI''ve added some test to your patch. Regarding the PostgreSQL issue, it seems (I didn''t check it though) that underlying ruby-openid returns non-utf-8 characters as a secret. Did you try to change OpenID provider (from myopenid.com to something else)? Regards, -- Jacek --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com To unsubscribe from this group, send email to rubyonrails-core-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---
Nicola Piccinini
2007-Dec-16 12:59 UTC
Re: Support for OpenID::SETUP_NEEDED in open_id_authentication plugin
> I''ve added some test to your patch.great> Regarding the PostgreSQL issue, it seems (I didn''t check it though) > that underlying ruby-openid returns non-utf-8 characters as a secret. > Did you try to change OpenID provider (from myopenid.com to something > else)?Cause of this problem I''m going with MySQL, anyway I''ve done a quick check and I''ve the same result with getopenid.com. I''m puzzled, I''ve no idea where the problem is: * my postgresql/system configuration, * openid provider, * ruby-openid, * openid_authentication_plugin, * my RoR code Suggestions? Thanks, Nicola --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com To unsubscribe from this group, send email to rubyonrails-core-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---