Skip to main content
I am looking at the tutorial on github at url https://github.com/ringcentral-tutorials/getting-started-with-webrtc-js-demo

I would like to implement this, however the problem I have is that it requires the app's client id and secret to be passed to javascript to be able to use.

How do I make it so it runs on a TOKEN that I get from some backend API and not expose my app's sensitive data.
Check out the new way to authenticate [using PKCE][1]. Fully agree with you that it is not secured to expose both client id and client secret on the frontend code. I will notify the team to work on changing example using PKCE method.


[1]: https://developers.ringcentral.com/guide/authentication/auth-code-pkce-flow

Reply