cors icon indicating copy to clipboard operation
cors copied to clipboard

docs: warn against combining origin: true with credentials: true

Open AchieverSana opened this issue 5 months ago • 1 comments

Adds a note near the configuration options warning that origin: true + credentials: true allows any origin to make credentialed requests, since origin: true reflects the request's Origin header rather than restricting it. Closes #422

AchieverSana avatar Jun 24 '26 08:06 AchieverSana

Hi! This adds a warning for the origin: true + credentials: true combination that's a common security footgun. Happy to adjust the wording if needed.

AchieverSana avatar Jun 25 '26 10:06 AchieverSana