cors
cors copied to clipboard
docs: warn against combining origin: true with credentials: true
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
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.