Rails + openid-login generator = Parameter action does not match return_to URL

Josh Hoyt josh at janrain.com
Mon Jan 28 12:58:11 PST 2008


On Jan 28, 2008 12:45 PM, Kevin Turner <kevin at janrain.com> wrote:
> The hash you're sending to complete() includes "controller" and "action"
> items.  I'm guessing those weren't really parameters that were part of
> the request like openid.mode is.  Pass only the arguments that were sent
> by the browser in the GET or POST and it should behave better.
>
> The example code contains this line:
>
> parameters = params.reject{|k,v|request.path_parameters[k]}
>
> ew.

Yeah, we really need an adapter for rails or some other way of making
this easier/more obvious. Probably 95% of Ruby library users will be
Rails users, right?

Anybody have ideas?

j3h



More information about the Dev mailing list