Change the AppKey and AppSecret to clientId and clientSecret
dibyenduroy opened this issue · 2 comments
dibyenduroy commented
Currently, the SDK code shows AppKey and AppSecret but as per the latest changes it should be updated to clientId and clientSecret so that the code works.
grokify commented
Here's the page that needs to be updated:
Code using appKey
and appSecret
exists 3 times on the page and the terms exist in other places in the prose.
import {SDK} from "@ringcentral/sdk";
// op
const SDK = require('@ringcentral/sdk').SDK;
const rcsdk = new SDK({
server: SDK.server.sandbox,
appKey: 'yourAppKey',
appSecret: 'yourAppSecret',
redirectUri: '' // optional, but is required for Implicit Grant and Authorization Code OAuth Flows (see below)
});
kirill-konshin commented
Fixed