Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions server.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ const app = express();
// Step 0: create an OAuth integration from https://developer.ciscospark.com/add-integration.html
// - then fill in your Integration properties below
//
const clientId = process.env.CLIENT_ID || "YOUR_CLIENT_ID";
const clientSecret = process.env.CLIENT_SECRET || "YOUR_CLIENT_SECRET";
const clientId = process.env.CLIENT_ID || "C4d2626189e40ffbde5f8d2948650bda5b4261804986bb3a977b079d2af2d7d93";
const clientSecret = process.env.CLIENT_SECRET || "81772d83ee75a5835d2b19a1c9e95b47bf6618a3a736e361c5324dc18e7183e8";
const scopes = process.env.SCOPES || "spark:people_read"; // supported scopes are documented at: https://developer.webex.com/add-integration.html, the scopes separator is a space, example: "spark:people_read spark:rooms_read"

// Compute redirect URI where your integration is waiting for Webex cloud to redirect and send the authorization code
Expand Down Expand Up @@ -322,4 +322,4 @@ function getLogoutURL(token, redirectURL) {
// Starts the Webex Integration
app.listen(port, function () {
console.log("Webex OAuth Integration started on port: " + port);
});
});