Following yesterdays webinar on Embedded Voice, I am trying to integrate this into our CRM. I have created test page with a copy of the example code, but i keep receiving an oauth error. Please can someone advise? Thanks in advance.
include code:
<script>
(function() {
var rcs = document.createElement("script");
rcs.src = "https://ringcentral.github.io/ringcentral-embeddable-voice/adapter.js?appKey=itC6A58EQYS0ae-w480bCg&...;
var rcs0 = document.getElementsByTagName("script")[0];
rcs0.parentNode.insertBefore(rcs, rcs0);
})();
</script>
the error code I receive is:
oauth error: Error: invalid_request
at o (app.js:1)
at t.<anonymous> (app.js:1)
at r (app.js:1)
at Generator._invoke (app.js:1)
at Generator.e.(ringcentral.github.io/ringcentral-embeddable-voice/anonymous function) [as next] (https://ringcentral.github.io/ringcentral-embeddable-voice/app.js:1:1191401)
at r (app.js:1)
at app.js:1
at new Promise (<anonymous>)
at new t (app.js:1)
at t.<anonymous> (app.js:1)
(anonymous) @ app.js:1
r @ app.js:1
(anonymous) @ app.js:1
e.(anonymous function) @ app.js:1
r @ app.js:1
(anonymous) @ app.js:1
t @ app.js:1
(anonymous) @ app.js:1
e @ app.js:1
r @ app.js:1
(anonymous) @ app.js:1
r @ app.js:1
(anonymous) @ app.js:1
e.(anonymous function) @ app.js:1
r @ app.js:1
(anonymous) @ app.js:1
t @ app.js:1
(anonymous) @ app.js:1
e @ app.js:1
(anonymous) @ app.js:1
r @ app.js:1
(anonymous) @ app.js:1
e.(anonymous function) @ app.js:1
r @ app.js:1
(anonymous) @ app.js:1
t @ app.js:1
(anonymous) @ app.js:1
(anonymous) @ app.js:1
postMessage (async)
window.oAuthCallback @ proxy.js:1
(anonymous) @ ringcentral.github.io/ringcentral-embeddable-voice/redirect.js:1