[Code] ruby-openid bugs work with rails 3.2.2
stutiredboy
stutiredboy at gmail.com
Tue Mar 6 08:17:21 UTC 2012
After login to OpenID Provider and return consumer site
exception appeared:
Verification failed: Unexpected parameter (not on return_to):
'controller'=nil)
i check idres.rb and found:
171 @message.get_args(BARE_NS).each_pair do |bare_key, bare_val|
172 rt_val = return_to_parsed_query[bare_key]
173 if not return_to_parsed_query.has_key? bare_key
174 # This may be caused by your web framework throwing extra
175 # entries in to your parameters hash that were not GET or
176 # POST parameters. For example, Rails has been known to
177 # add "controller" and "action" keys; another server adds
178 # at least a "format" key.
179 raise ProtocolError, ("Unexpected parameter (not on
return_to): "\
180 "'#{bare_key}'=#{rt_val.inspect})")
ruby 1.8 and rails 2.3.5 works fine.
soembody help me solve this? i am a newbie of ruby
thanks very much
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openid.net/pipermail/openid-code/attachments/20120306/d9508b3c/attachment.html>
More information about the Code
mailing list