Skip to content
This repository has been archived by the owner on Sep 6, 2024. It is now read-only.

Sinatra web app to demonstrate problem with shutting down Intercom Acquire upon user sign out.

Notifications You must be signed in to change notification settings

philiph/intercom-acquire-shutdown-problem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Intercom Acquire - example of shutdown problem

Simple example web app, written in Ruby / Sinatra.

This is to demonstrate a problem we are having with Intercom Acquire integration. When a user is signed in, and then signs out, we try to tell Intercom to shutdown and boot again, so that the chat history is cleared. The problem is that we find that the signed in user is still present in Intercom.

Getting started

Use rbenv to install ruby version if necessary (see .ruby-version).

Use Bundler to install dependencies:

$ bundle install --path vendor/bundle --binstubs

Edit the server.rb file and enter a real intercom_app_id and intercom_secret (assuming you are using Intercom secure mode.)

set :intercom_app_id, 'TODO'
set :intercom_secret, 'TODO'

Start webserver:

$ bundle exec foreman start

This should start a local webserver accessible at http://localhost:9292/.

About

Sinatra web app to demonstrate problem with shutting down Intercom Acquire upon user sign out.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published