Zoom web sdk not run in production mode

Hi Team,

I am using @zoom1234/websdk in my website it is executed on local successfully but in production mode it gives errors :

And the api
https://rwcprod.zoom.us/wc/ping/98393776647?ts=1609386067414&auth=iiRTqweeH9XNkci8niO5c8DK3TZAPxoEgK2BnVBZb4k&rwcToken=K1Tx94_UK8SfJi2Xz9uCQAeVw4UEJClAZY_RcNn1sHE&dmz=1

gives strict origin error.

Please can you let me know what steps I have to take to run websdk on production. I have already seen the posts related to this topic. I am not using UglifyPlugin.

Thanks

Hey @husain,

Are you using React? If so, please checkout this React Web SDK sample app:

Let me know if you need additional assistance.

Thanks,
Tommy

Thanks for reply @tommy

I am using react with webpack not cra. I see, I am already using the same code as given in sample app. Can you give me some solution for that may be some webpack config or other…

Thanks

Hey @husain,

The easiest would be to reference the above CDN sample app, the implementation should not change for CRA or Webpack.

That being said, are you able to provide a sample GitHub repo with the issue so I can test and debug locally on my end?

Thanks,
Tommy

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.