FirebaseRTC icon indicating copy to clipboard operation
FirebaseRTC copied to clipboard

Create room Cors Error

Open oguzose opened this issue 5 years ago • 1 comments

Hello, when i click the Create Room button, console has error like this:

Access to XMLHttpRequest at 'https://firestore.googleapis.com/google.firestore.v1.Firestore/Listen/channel?database=projects...' from origin 'http://localhost:5000' has been blocked by CORS policy: The value of the 'Access-Control-Allow-Origin' header in the response must not be the wildcard '*' when the request's credentials mode is 'include'. The credentials mode of requests initiated by the XMLHttpRequest is controlled by the withCredentials attribute.

Can you help me?

oguzose avatar Feb 19 '20 21:02 oguzose

Did you perform the tasks mentioned in the codelab for logging in and associating the project with your own Firebase Project? See https://webrtc.org/getting-started/firebase-rtc-codelab#4_install_the_firebase_command_line_interface

ErikHellman avatar Feb 21 '20 10:02 ErikHellman