By nickreynke
Hey there.
I am getting the CORS error: “Request header field authorization is not allowed by Access-Control-Allow-Headers in preflight response.”
This is due to not being able to set “allow_headers” in the App Specification file. (This key does not yet exist.)
Is there any way to do something about this?
Stay healthy! Nick
Related questions:
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
I am building an embedded app into another website. I would like to set “Access-Control-Allow-Origin” to “" and “Content-Security-Policy” to "frame-ancestors https://.xxx.com”
Is it possible to do so?
I’m having the same issue. I want to allow certain headers in my requests. Any idea on how to solve it?
I just opened an idea on their ideas page: https://ideas.digitalocean.com/ideas/APPX-I-94
If you need these two options, please upvote the idea! Thank you! :)
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.