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
(function() {
var rcs = document.createElement("script");
rcs.src = "https://ringcentral.github.io/ringcentral-embeddable-voice/adapter.js";
var rcs0 = document.getElementsByTagName("script")[0];
rcs0.parentNode.insertBefore(rcs, rcs0);
})();
It will use default config params.
Got following message from RingCentral API:
{
"error" : "invalid_client",
"error_description" : "Invalid client: itC6A58EQYS0ae-w480bCg",
"errors" : [ {
"errorCode" : "OAU-153",
"message" : "Invalid client: itC6A58EQYS0ae-w480bCg",
"parameters" : [ {
"parameterName" : "client_id",
"parameterValue" : "itC6A58EQYS0ae-w480bCg"
} ]
} ]
}
A new Community is coming to RingCentral!
Posts are currently read-only as we transition into our new platform.We thank you for your patience
during this downtime.
Try Workflow Builder
Did you know you can easily automate tasks like responding to SMS, team messages, and more? Plus it's included with RingCentral Video and RingEX plans!Try RingCentral Workflow Builder