ruby-openid icon indicating copy to clipboard operation
ruby-openid copied to clipboard

Sreg arguments are lost during setup_needed phase

Open Nopik opened this issue 13 years ago • 0 comments

When client is making immediate request, asking for extra arguments (e.g. "http://openid.net/extensions/sreg/1.1", optional = "email") and user is not authorized, setup_url is returned. OpenID::Server::CheckIDRequest is trying to clone itself for having immediate=false and then encoding to setup_url, but it is losing extra self.message.args, so when second setup request arrives, the args are lost and there is no way to get them back, but to send another request.

Nopik avatar Jul 12 '12 16:07 Nopik