Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
1 Antworten
1086 Ansichten

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

Avatar
Verwerfen
Autor Beste Antwort

im stuck is there no quick fix or configuration to the cors enabling in the server

Avatar
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
2
Mai 23
3027
1
Apr. 23
2919
1
Jan. 23
5029
1
Jan. 21
17574
3
Dez. 24
1977