hey, so im finding problems sending request to the server from other domain i tried solving it by adding the cors=* on the route decorator specifically signup endpoint but even after that now i get this error
Access to XMLHttpRequest at 'http://localhost:8069/web/session/authenticate' from origin 'http://localhost:55914' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: 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.
and i dont know if i have to modify the odoo code or is there configurations that i can make instead of modifying the code
Bu soru işaretlendi
1
Cevapla
2978
Görünümler
im stuck is there no quick fix or configuration to the cors enabling in the server
Tartışma hoşunuza mı gidiyor? Sadece okumakla kalmayın, katılın!
Özel özelliklerden yararlanmak ve harika topluluğumuzla etkileşime geçmek için bugün bir hesap oluşturun!
Üye Ol| İlgili Gönderiler | Cevaplar | Görünümler | Aktivite | |
|---|---|---|---|---|
|
|
2
May 23
|
5073 | ||
|
|
1
Nis 23
|
4581 | ||
|
|
1
Oca 23
|
7055 | ||
|
|
1
Oca 21
|
20507 | ||
|
|
0
May 26
|
1 |