Coder Social home page Coder Social logo

helpscout's People

Contributors

dawsbot avatar mcdado avatar shaun3141 avatar svanweelden avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

helpscout's Issues

Add TypeScript typings

Should start with something low or moderate fidelity, no need to get everything exact to start.

For example, this is what I am working with locally:

declare module 'helpscout-2.0' {
  export default class HelpScout {
    public constructor({ clientId: string, clientSecret: string });
    public list(
      resourceType: string,
      queryParams: string,
    ): Promise<Array<any>>;
  }
}

Invalid auth on new application

Version info

  • Node version: 14.6.1

Expected behavior

Authorization should succeed and we should be able to make authenticated requests

Actual behavior

Error: Error: Error: Error: {"error_description":"Invalid client authentication","error":"invalid_client"}

Steps to reproduce

  1. Setup your own application on https://secure.helpscout.net/apps
  2. Add the app name and password
  3. Use exact example code from this repo:
var HelpScout = require('helpscout-2.0');

var HelpScoutClient = new HelpScout({
 "clientId": "dynamic-earnifi-dashboard", /* also tried "134108-dynamicearnifidashboard" from the URL */
 "clientSecret": process.env.HELPSCOUT_APP_SECRET
});

I tried both "

Screen Shot 2021-12-03 at 2 35 40 PM

Logs

Error: Error: Error: Error: {"error_description":"Invalid client authentication","error":"invalid_client"}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.