CORS Error in Fetch

Angular client making requests for .well-known IS4 config resource was failing with CORS error (resource did not have allow-origin header). As the error suggested, I hadn’t set up the right port on the CORS middleware in the IS4 host. And then implement that policy in the Startup.Configure method: app.UseCors(“defaultPolicy”); It’s so easy to miss this…

By Toby Worth December 21, 2018 0