code: function getAccessTokenFromLocation(location) {
    if (!(location && location.hash.length)) {
      return null;
    }
    // dropbox token usually start with # therefore we want to remore the '#'
    const query = window.location.hash.substring(1);
  
    return parseQueryString(query).access_token;
  }
docs: This method will extract the atuch token from the third party service callback url. Default: Dropbox
  @param {object} location the window location provided by react router
  @returns {?string} the token extracted from the oauth 2 callback URL