Skip to content

This app showcases the implementation of a popup authorization flow from the LiveChat Accounts SDK.

Notifications You must be signed in to change notification settings

livechat/sample-app-popup-auth

Repository files navigation

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.

About

This app showcases the implementation of a popup authorization flow from the LiveChat Accounts SDK.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published