opentok-react
opentok-react copied to clipboard
Blocked by CORS Policy?
I have deployed my website with Firebase hosting and starting to encounter this error whenever I launch the video call.
Access to fetch at 'https://api.opentok.com/session/create' from origin '<mywebsite>' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
Help needed!
In my case, the date-time of my machine was wrong. Fixing that solved this error.