Giter Site home page Giter Site logo

livechat / supervisor-app Goto Github PK

View Code? Open in Web Editor NEW
17.0 10.0 21.0 5.8 MB

Supervisor is a simple widget helping you monitor the weekly progress of your agents and their availability.

Home Page: https://developers.livechat.com/docs/

License: MIT License

HTML 2.18% JavaScript 97.82%
livechat sample-app code-samples chat developer-resources

supervisor-app's People

Contributors

adalbertusliver avatar arturfracala avatar dominikslawkowski avatar fjaskolski avatar kamilatokarska avatar oliwiapolec avatar venits avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

supervisor-app's Issues

TypeError: agents.map is not a function

I have a problem with supervisor sample app. I have done all the steps from instructions and the app shortcut indeed has appeared on the left side bar. When I click on it, the app is loading and the error appears:
image

I have also added one agent to my team, but this also didn't help. Is there any error inside app code or am I doing something wrong?

Confusing redirects in the "progress" sample app

I tried to start developing LiveChat agent app yesterday and used "progress" sample as a basis for development. I got it running and encountered some very odd extra redirects at the authorization phase which seemingly didn't come from the app. The redirect had wrong app_client_id and such it seemed I had no control over it.

After a few looks in the code, I found the culprit:
https://github.com/livechat/sample-apps/blob/master/progress/public/index.html#L36

I think this is unnecessary as the React app has similar logic inside it (https://github.com/livechat/sample-apps/blob/master/progress/src/App/Authorization.js#L19) and that code uses settings from Config.js (https://github.com/livechat/sample-apps/blob/master/progress/src/App/Config.js). I suggest removing the redirect code from index.html, so the next person trying these out, would get working sample app quicker.

can't acquire refresh_token

reference: https://developers.livechatinc.com/beta-docs/authorization/#step-4-exchange-code-for-access-token-and-refresh-token

I'm having a problem getting refresh_token when I try to request in https://accounts.livechatinc.com/token

It returns:

{"exception_description":"The authorization grant type is not supported by the authorization server.","oauth_exception":"unsupported_grant_type"}

Is there any way to use API key instead of OAuth here: https://developers.livechatinc.com/beta-docs/configuration-api/

API key in App Authorization

Can I use API key instead of OAuth in App Authorization? I also tried to create Personal Access Token to use it instead but there's an error:

image

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.