This script generates a guest user and its access token from a Webex Guest Issuer Application.
-
You will need to have a Guest Issuer Application with Webex
-
Create a JSON file with the following contents, you may name it
config.json
:{ "id": "Guest issuer ID", "secret": "Guest issuer secret", "name": "Display name of guest user" }
-
Run the following command:
npx webex-guest-generator config.json
Substitute
config.json
with the name of your file, if different.
Generated token is valid for one day.