在尝试使用 Meteor 包accounts-facebook和accounts-google登录时,我遇到了 OAuth 处理程序异常。Packages accounts-twitter似乎可以正常工作并且可以完美登录。我没有写任何代码,这是使用accounts-ui包开箱即用的
前端简单地用红色文字说“Internal Server Error”,Meteor 堆栈跟踪如下:
Exception in oauth request handler [Error: failed]
Exception while invoking method 'login' Error: failed
at Request.Meteor.http.call [as _callback] (app/packages/http/httpcall_server.js:117:19)
at Request.init.self.callback (/usr/lib64/meteor/lib/node_modules/request/main.js:122:22)
at Request.EventEmitter.emit (events.js:96:17)
at Request.<anonymous> (/usr/lib64/meteor/lib/node_modules/request/main.js:654:16)
at Request.EventEmitter.emit (events.js:123:20)
at IncomingMessage.Request.start.self.req.self.httpModule.request.buffer (/usr/lib64/meteor/lib/node_modules/request/main.js:616:14)
at IncomingMessage.EventEmitter.emit (events.js:123:20)
at IncomingMessage._emitEnd (http.js:366:10)
at HTTPParser.parserOnMessageComplete [as onMessageComplete] (http.js:149:23)
at CleartextStream.socketOnData (http.js:1366:20)
我正在我自己的基础设施上运行 Meteor 应用程序,并使用一个有效的域名。知道发生了什么吗?