docs: function createGithubCredentials(token) {
    return new Promise((resolve, reject) => {
      if (token) {
        resolve({ type: 'oauth', token: token });
      }
      else {
        reject('Missing token');
      }
    });
  }