Skip to main content
New Participant
Feb 15, 2018 6:34 AM UTC
Question

Getting rcsdk.platform(...).authUrl is not a function

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

1 reply

Participating Frequently
Feb 15, 2018 6:48 AM UTC
Hi, Angad. It seems the demo code is outdated. Please try 'rcsdk.platform(...). loginUrl'  https://github.com/ringcentral/ringcentral-js#login