Re:Developers don't understand CORS
by icebraining on Wednesday July 10, 2019 @08:31PM
(#20408014)
I'm curious, why was it painful? We just had a middleware do an Origin check and copy the header if it matches.
90+ microservices with 5+ environments. Mostly a matter of scaling a solution across a rather large surface area and across a number of languages and teams.
Re:Developers don't understand CORS
by icebraining on Friday July 12, 2019 @06:50AM
(#20419685)
Fair enough; seems like it could be done using a gateway like Kong, but if you're not already using one, it wouldn't be worth adding it just for that.
I’m personally at the point where I’d rather handle unnecessary request authentication than trying to do anything with CORS.