question

angad-kaflay8911 avatar image
angad-kaflay8911 asked ·

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
aaa
1 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

· Write an Answer
embbnux-ji2 avatar image
embbnux-ji2 answered ·
Hi, Angad. It seems the demo code is outdated. Please try 'rcsdk.platform(...). loginUrl'   https://github.com/ringcentral/ringcentral-js#login
Share
1 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.