GitHub API v3 everyauth Shim

GitHub shut down API v1 and v2 today which will cause apps relying on bnoguchi/everyauth to fail. In lieu of a pull request or package update, here's a quick shim that overwrites the default apiHost and fetchOAuthUser.

var everyauth = require('everyauth')



  .fetchOAuthUser(function (accessToken) {
    var p = this.Promise()
    this.oauth.get(this.apiHost() + '/user', accessToken, function (err, data) {
      if (err) {
      var oauthUser = JSON.parse(data)
    return p