我正在尝试用PHP编写自己的提供程序(JanRain库令人困惑,甚至phpMyID也没有记录完全发生了什么)。我的身份验证工作正常,但当依赖方尝试执行check_authentication时,它说我的服务器拒绝了它。
这是我在check_authentication请求期间捕获的调试信息。
$_GET:
Array
(
[mode] => profile
[username] => jrhodes
[domain] => roket-enterprises.com
)
$_POST:
Array
(
[openid_assoc_handle] => {HMAC-SHA1}{4abdf2f1}{olw8ag==}
[openid_identity] => http://www.roket-enterprises.com/openaccount/openid:jrhodes
[openid_mode] => check_authentication
[openid_response_nonce] => 2009-09-26T10:54:41ZLg0kfQ
[openid_return_to] => http://www.wasab.dk/morten/2007/11/openid/?janrain_nonce=2009-09-26T10%3A54%3A37Z9rZCkP&openid1_claimed_id=http%3A%2F%2Fwww.roket-enterprises.com%2Fopenaccount%2Fopenid%3Ajrhodes
[openid_sig] => Xl94j3IJtfSEQ4oKfova68I8edc=
[openid_signed] => assoc_handle,identity,mode,response_nonce,return_to,signed,sreg.email,sreg.fullname,sreg.nickname
[openid_sreg_email] => jrhodes@roket-enterprises.com
[openid_sreg_fullname] => James Rhodes
[openid_sreg_nickname] => jrhodes
)
Using Specific Mode Endpoint Handler...
Answering check_authentication
Headers:
Content-Type: text/plain;
openid.mode: id_res;
openid_mode: id_res;
sreg.fullname: James Rhodes;
sreg.nickname: jrhodes;
sreg.email: jrhodes@roket-enterprises.com;
is_valid: true;
GET和POST数据是我的脚本正在接收的数据。 “Headers:”之后的所有内容都是我的脚本返回的标题。根据规格,我看不出有什么不妥。
过去4个小时我一直在询问#openid并没有得到回复(请注意自己:在StackOverflow上发帖,然后询问IRC)。有人可以帮忙吗?