Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/objectisadvantag/guestissuer-widget-sample

A Node.js sample app to experiment JWT Guest Issuer for Webex
https://github.com/objectisadvantag/guestissuer-widget-sample

code-sample guest guest-issuer webex webex-teams

Last synced: about 1 month ago
JSON representation

A Node.js sample app to experiment JWT Guest Issuer for Webex

Awesome Lists containing this project

README

        

# Example of Webex Guest Issuer App in Node.js

This example illustrates how to create a server-side Webex Guest Issuer application that create an instant Webex Widget, see [screenshots](#screenshots) below for more details about the app.

Pre-requisites:
- **you must be part of a Webex paying organization** to use the Webex Guest feature
- [create a new Guest application](https://developer.webex.com/my-apps/new/guest-issuer)
- place your Guest Issuer id and secret in the [.env](./env#L15) file or on the command line (see quickstart on glitch and on the command line below)

## Quick start on Glitch

Click [![Remix on Glitch](https://cdn.glitch.com/2703baf2-b643-4da7-ab91-7ee2a2d00b5b%2Fremix-button.svg)](https://glitch.com/edit/#!/import/github/ObjectIsAdvantag/guestissuer-widget-sample)

Open the `.env` file and paste the ['Guest Issuer'](https://developer.webex.com/docs/guest-issuer) **identifier and secret** for your application.

Your app is all set.

Click `Show` to run the demo

## Run the sample locally

``` bash
git clone https://github.com/ObjectIsAdvantag/guestissuer-widget-sample
cd guestissuer-widget-sample
npm install
DEBUG=lab* GUEST_ISSUER="XXXXX" GUEST_SECRET="YYYYY" node server.js
```

## Roadmap

- Add a server-side managed session: https://github.com/expressjs/session

## Screenshots

First enter the info for the guest user, and the email of the Webex user you want to contact:

![](./docs/demo_home.png)



Then, simply chat, call, share files:

![](./docs/demo_widget.png)