I'm trying to enable CORS for specific domains. I've followed everything they say to so on here:
https://www.asp.net/web-api/overview/security/enabling-cross-origin-requests-in-web-api
I enabled cors on the WebApiConfig. I set the attribute on my controller class with each domain separated by commas. I also tried implementing my own ICorsPolicyProvider class. When I test the code on Postman it's always returning the values despite having a domain not on the list of origins as the origin. I've noticed that the headers returned do not include the Access-Control-Allow-Origin header. I'm using Microsoft.AspNet.WebApi Version 5.2.3. I can't figure out what I'm doing wrong.
Any and all help is greatly appreciated. Thank you.