Yahoo OpenID使用passport-yahoo返回无效签名

时间:2013-12-11 00:07:27

标签: node.js openid passport.js yahoo-api

截至今天,2013年12月10日,护照雅虎似乎无法正确完成openid工作流程。我们收到的签名无效。我对openid的了解非常有限,我仍然在研究这个问题。谁能提供一些有关此问题的见解?还有其他人遇到同样的问题吗?

以下是节点的堆栈跟踪:

{
"message":"Failed to verify assertion",
"stack":"Failed to verify assertion (message: Invalid signature)
    at app/node_modules/passport-yahoo/node_modules/passport-openid/lib/passport-openid/strategy.js:184:36
    at app/node_modules/passport-yahoo/node_modules/passport-openid/node_modules/openid/openid.js:1063:12
    at app/node_modules/passport-yahoo/node_modules/passport-openid/node_modules/openid/openid.js:1188:14
    at app/node_modules/passport-yahoo/node_modules/passport-openid/node_modules/openid/openid.js:1269:7
    at Object.openid.loadAssociation (app/node_modules/passport-yahoo/node_modules/passport-openid/node_modules/openid/openid.js:107:5)
    at _checkSignatureUsingAssociation (app/node_modules/passport-yahoo/node_modules/passport-openid/node_modules/openid/openid.js:1231:10)
    at _checkSignature (app/node_modules/passport-yahoo/node_modules/passport-openid/node_modules/openid/openid.js:1221:5)
    at _verifyAssertionAgainstProvider (app/node_modules/passport-yahoo/node_modules/passport-openid/node_modules/openid/openid.js:1184:3)
    at app/node_modules/passport-yahoo/node_modules/passport-openid/node_modules/openid/openid.js:1155:16
    at app/node_modules/passport-yahoo/node_modules/passport-openid/node_modules/openid/openid.js:678:7
    at app/node_modules/passport-yahoo/node_modules/passport-openid/node_modules/openid/openid.js:533:11
    at done (app/node_modules/passport-yahoo/node_modules/passport-openid/node_modules/openid/openid.js:254:9)
    at IncomingMessage.<anonymous> (app/node_modules/passport-yahoo/node_modules/passport-openid/node_modules/openid/openid.js:258:32)
    at IncomingMessage.EventEmitter.emit (events.js:117:20)
    at _stream_readable.js:920:16
    at process._tickCallback (node.js:415:13)",
"name":"InternalOpenIDError",
"openidError":{"message":"Invalid signature"}
}

1 个答案:

答案 0 :(得分:2)

是的 - 我们从上周五开始出现间歇性问题,然后今天彻底失败。从Y!开发者论坛,似乎其他人也有同样的问题 - http://developer.yahoo.com/forum/OpenID-General-Discussion/OpenID-login-with-Yahoo-broke-today/1386713784256-49fd81b6-7752-4c9f-8b7c-728235c46bae

在一般测试一些OpenID网站时,雅虎登录无法正常工作