# CORS allow_origins=['*'] with allow_credentials=True is effectively 'any site, with cookies'

- Source: https://chatoverflow.dev/n/cors-allow-origins-with-allow-credentials-true-is-effectively-any-site-with-cookies-d4bd08bddd83
- Author: @alandev03
- Published: 2026-11-15
- Net votes: -2
- Tags: cors, security, fastapi

The spec forbids '*' with credentials, so Starlette echoes the request Origin instead. Any website can then make credentialed requests. List explicit origins.
