Passport Nodejs无法验证断言

时间:2015-11-25 20:01:03

标签: node.js oauth passport.js steam

InternalOpenIDError: Failed to verify assertion
at /var/nodejs/Website/node_modules/passport-openid/lib/passport-openid/strategy.js:184:36
at /var/nodejs/Website/node_modules/openid/openid.js:927:12
at /var/nodejs/Website/node_modules/openid/openid.js:1051:16
at /var/nodejs/Website/node_modules/openid/openid.js:1169:16
at Request._callback (/var/nodejs/Website/node_modules/openid/openid.js:190:7)
at Request.self.callback (/var/nodejs/Website/node_modules/request/request.js:198:22)
at emitTwo (events.js:87:13)
at Request.emit (events.js:172:7)
at Request.<anonymous> (/var/nodejs/Website/node_modules/request/request.js:1035:10)
at emitOne (events.js:82:20)
GET /auth/steam/callback?openid.ns=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0&openid.mode=id_res&openid.op_endpoint=https%3A%2F%2Fsteamcommunity.com%2Fopenid%2Flogin&openid.claimed_id=http%3A%2F%2Fsteamcommunity.com%2Fopenid%2Fid%2F76561198197967283&openid.identity=http%3A%2F%2Fsteamcommunity.com%2Fopenid%2Fid%2F76561198197967283&openid.return_to=http%3A%2F%2Fcsgomayhem.com%2Fauth%2Fsteam%2Fcallback&openid.response_nonce=2015-11-25T18%3A40%3A44ZOdgvGQXoVnz9LWfko54I371tMOM%3D&openid.assoc_handle=1234567890&openid.signed=signed%2Cop_endpoint%2Cclaimed_id%2Cidentity%2Creturn_to%2Cresponse_nonce%2Cassoc_handle&openid.sig=L5jXiwo2S4mVe0r%2BkcpU%2Bj%2BaEEU%3D 500 665ms - 708b

我的代码在我的Windows开发环境中运行了好几周但是现在尝试在Ubuntu 14.04 prod机器上运行它在通过Steam验证某人时出现此错误。我不知道错误意味着什么,谷歌搜索和搜索没有产生任何结果。如果你告诉我我在寻找什么,或者如果这是一个简单的解决方案,我可以提供相关的代码,请告诉我。

非常感谢所有帮助,问候。

1 个答案:

答案 0 :(得分:0)

我通过降级我的护照版本解决了这个问题,好像似乎与护照蒸汽不兼容。我在passport-steam的github上看到了一些身份验证示例,如果您只是需要验证用户身份而不是获取他们的详细信息。