title: Meteor OAuth Exception while invoking method 'login'
body: <p>While trying to login using the Meteor packages <i>accounts-facebook</i> and <i>accounts-google</i>, I'm getting an OAuth handler exception. Packages <b><i>accounts-twitter</i></b> appears to work fine and logs in perfectly. I haven't written any code, this is right out of the box using the <i>accounts-ui</i> package</p>
  
  <p>The front end simply says "Internal Server Error" in red text, and the Meteor stack trace is the following:</p>
  
  <pre><code>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.&lt;anonymous&gt; (/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)
  </code></pre>
  
  <p>I'm running the Meteor app on my own infrastructure with a working domain name. Any idea what's going on?</p>