Reason: expected ‘true’ in CORS header ‘Access-Control-Allow-Credentials’

I volontari di MDN non hanno ancora tradotto questo articolo in Italiano. Unisciti a noi e traducilo tu stesso.
Puoi anche consultare l’articolo in English (US).

Reason

Reason: expected ‘true’ in CORS header ‘Access-Control-Allow-Credentials’

What went wrong?

The CORS request requires that the server permit the use of credentials, but the server's Access-Control-Allow-Credentials header's value isn't set to true to enable their use.

To fix this problem on the client side, revise the code to not request the use of credentials.

To eliminate this error by changing the server's configuration, adjust the server's configuration to set the Access-Control-Allow-Credentials header's value to true.

See also

Tag del documento e collaboratori

Hanno collaborato alla realizzazione di questa pagina: mdnwebdocs-bot, Sheppy
Ultima modifica di: mdnwebdocs-bot,