-
Notifications
You must be signed in to change notification settings - Fork 38.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add CORS support for Private Network Access #28546
Comments
Any update on this ? |
Thanks for raising this. My initial read is that this would be another boolean attribute in
I note that the spec is still a draft, and it's unclear how much it is to evolve yet, even if it is in Chrome already. |
|
This commit adds CORS support for Private Network Access by adding an Access-Control-Allow-Private-Network response header when the preflight request is sent with an Access-Control-Request-Private-Network header and that Private Network Access has been enabled in the CORS configuration. See https://developer.chrome.com/blog/private-network-access-preflight/ for more details. Closes spring-projectsgh-28546
Hi, |
Yes, we will. |
Backported to both Spring Framework 6.0 and 5.3. |
Chrome will want a
Access-Control-Allow-Private-Network
header from the application ifAccess-Control-Request-Private-Network
is sent in the preflight request. It would be nice if the CrossOrigin annotation handled this.See https://developer.chrome.com/blog/private-network-access-preflight/.
The text was updated successfully, but these errors were encountered: