Skip to main content

Trying to use the tuorial in the URL https://ringcentral-tutorials.github.io/oauth-js-demo/?distinctId=16197bcf10a97-0973e5a0d1373-a35346... which has the rcsdk.platform().authUrl({ redirectUri: this.config['RC_APP_REDIRECT_URL']

}) code in index.html. So when i try to get the access token i get rcsdk.platform(...).authUrl is not a function

Hi, Angad. It seems the demo code is outdated. Please try 'rcsdk.platform(...). loginUrl'  https://github.com/ringcentral/ringcentral-js#login

Reply