Thanks to visit codestin.com
Credit goes to developer.mozilla.org

This page was translated from English by the community. Learn more and join the MDN Web Docs community.

View in English Always switch to English

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

이유

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

무엇이 문제인가요?

CORS 요청은 서버가 자격 증명 사용을 허용하도록 요구하지만, 서버의 Access-Control-Allow-Credentials 헤더의 값이 true로 설정되지 않아 사용할 수 없습니다.

클라이언트 측에서 이 문제를 해결하려면, 자격 증명 사용을 요청하지 않도록 코드를 수정하세요.

서버의 구성을 변경하여 이 오류를 제거하려면, 서버의 Access-Control-Allow-Credentials 헤더 값을 true로 설정합니다.

함께 보기