(related to Common parameter to retrieve email address from OpenID provider)
The following is subset of response from StackExchange OpenID server after successful authentication
array(14) {
["openid_mode"] => string(6) "id_res"
["openid_ns"] => string(32) "http://specs.openid.net/auth/2.0"
["openid_ns_alias3"] => string(28) "http://openid.net/srv/ax/1.0"
["openid_alias3_mode"] => string(14) "fetch_response"
["openid_alias3_type_alias1"] => string(33) "http://axschema.org/contact/email"
["openid_alias3_value_alias1"] => string(20) "[email protected]"
}
Instead of openid_alias3_type_alias1 it should be openid_ax_value_email (like done by Yahoo!) according to OpenID standard http://openid.net/specs/openid-attribute-exchange-1_0.html#fetch_response