Files
cal.diy/packages/app-store/webex
824145b0e2 feat: Sync app credentials between Cal.com & self-hosted platforms (#11059)
* Add credential sync .env variables

* Add webhook to send app credentials

* Upsert credentials when webhook called

* Refresh oauth token from a specific endpoint

* Pass appSlug

* Add credential encryption

* Move oauth helps into a folder

* Create parse token response wrapper

* Add OAuth helpers to apps

* Clean up

* Refactor `appDirName` to `appSlug`

* Address feedback

* Change to safe parse

* Remove console.log

---------

Co-authored-by: Syed Ali Shahbaz <52925846+alishaz-polymath@users.noreply.github.com>
Co-authored-by: Omar López <zomars@me.com>
2023-09-19 20:46:50 +00:00
..
2023-05-11 07:14:32 +00:00
2023-05-11 07:14:32 +00:00
2023-05-11 07:14:32 +00:00
2023-05-11 07:14:32 +00:00
2023-05-11 07:14:32 +00:00
2023-05-11 07:14:32 +00:00

Obtaining Webex Client ID and Secret

  1. Create a Webex acount, if you don't already have one.
  2. Go to Webex for Developers and sign into to your Webex account. (Note: If you're creating a new account, create it on Webex, not on Webex for Developers)
  3. On the upper right, click the profile icon and go to "My Webex Apps"
  4. Click on "Create a New App" and select "Integration"
  5. Choose "No" for "Will this use a mobile SDK?"
  6. Give your app a name.
  7. Upload an icon or choose one of the default icons.
  8. Give your app a short description.
  9. Set the Redirect URI as <Cal.com URL>/api/integrations/webex/callback replacing Cal.com URL with the URI at which your application runs.
  10. Select the following scopes: "meeting:schedules_read", "meeting:schedules_write".
  11. Click "Add Integration".
  12. Copy the Client ID and Client Secret and add these while enabling the app through Settings -> Admin -> Apps interface