Code Monkey home page Code Monkey logo

sample-app-popup-auth's Introduction

Sample Popup App by the LiveChat Platform

This project was bootstrapped using LiveChat Developer Console CLI.

πŸ’‘ About the app

The sample popup app was created to demonstrate how to implement the popup authorization flow from the LiveChat Accounts SDK flow when building apps for LiveChat.

πŸš€ How to run the app

  1. Create your app in Developer Console.
  2. Add the App Authorization building block.
  3. Add http://localhost:3000 URL to the whitelist.
  4. Add the sessions--my:rw scope.
  5. Copy client_id from the Authorization block and paste it into the livechat.config.json configuration file.
  6. Run the npm install command to install dependencies.
  7. Run the npm run dev command to start the local development server.

πŸ”— Redirect app

We've got a similar application for the redirect auth flow.

See the redirect sample app >

πŸ€” Popup or redirect?

Not sure which flow to use in your application? Read our blog post.

Text Platform: who are we?

Behind Text, there’s a team of passionate people building online customer service software with online chat, help desk software, chatbot, and web analytics capabilities.

With a suite of five products (LiveChat, ChatBot, HelpDesk, KnowledgeBase, and OpenWidget) and their powerful APIs, we power customer communication for 36,000 companies in 150 countries.

The Platform is a range of products and services that can be used to build a variety of communication tools for businesses. Our Developer Program and Marketplace create an open ecosystem for developers, partners, and customers. With our advanced APIs and comprehensive documentation, you can shape the future of communication with us β€” starting today.

sample-app-popup-auth's People

Contributors

ale-kacperczyk avatar arturfracala avatar oliwiapolec avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

cjmacdaddy

sample-app-popup-auth's Issues

Unable to login with live chat for non owners

Hi running this app

It works: when I try to log in with the user who owns client_id

But if I have any other user i.e any live chat user besides the owner, I get access_denied

    "oauth_exception": "access_denied",
    "exception_details": "the server encountered an unexpected condition that prevented it from fulfilling the request",
    "description": "Probably this application is installed on a different account and you do not have access to it."}

I want to know how can I permit the popup for all live chat for users

Is there any setting where I can adjust the access level?

Please look output of the screenshot
Screenshot 2023-04-05 at 2 22 48 AM

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.