Pass any AX response to the callback along with the SReg response
This commit is contained in:
parent
a0b76fc2c5
commit
94f9f4b76f
1 changed files with 2 additions and 1 deletions
|
@ -112,7 +112,8 @@ module OpenIdAuthentication
|
|||
case response.status
|
||||
when OpenID::Consumer::SUCCESS
|
||||
yield Result[:successful], identifier,
|
||||
OpenID::SReg::Response.from_success_response(response)
|
||||
OpenID::SReg::Response.from_success_response(response),
|
||||
OpenID::AX::FetchResponse.from_success_response(response)
|
||||
when :missing
|
||||
yield Result[:missing], identifier, nil
|
||||
when :invalid
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue