tinymce-angular icon indicating copy to clipboard operation
tinymce-angular copied to clipboard

RTC - Jwt provider error: expected it to return a promise

Open tmiljevic opened this issue 3 years ago • 3 comments

When trying to setup rtc plugin with the default init options from the introduction, plugin.min.js:8 Jwt provider error: expected it to return a promise error appears in the console and on the screen.

You can take a look at the demo here with the exact versions:

https://codesandbox.io/s/tinymce-angular-forked-vxyz7u

In my setup I'm using an api key from freshly created account. I've also tried setting up an endpoint for rtc_token_provider, which indeed gets invoked but the same error persists.

Chrome Version 102.0.5005.61 (Official Build) (64-bit) Mozilla Firefox 102.0.1 (64-bit) OS Ubuntu 20.04.4 LTS

tmiljevic avatar Aug 04 '22 07:08 tmiljevic

Ref: INT-2979

exalate-issue-sync[bot] avatar Aug 04 '22 07:08 exalate-issue-sync[bot]

@tmiljevic For help with premium plugins you might need to head over to TinyMCE support

With that said, the issue might be the plugin definition of "Promise" as everything inside Angular would use "ZoneAwarePromises" instead.

jscasca avatar Aug 08 '22 08:08 jscasca

@jscasca thank you! I will contact the support.

tmiljevic avatar Aug 08 '22 08:08 tmiljevic

Closing this ticket as it seems to be resolved :+1:

jscasca avatar Oct 21 '22 06:10 jscasca