title: Edge fails requests to the same domain due to CORS
body: <p>My SPA application servet at example.com makes requests to example.com/api. AFAIK this should not require any <code>access-control-allow-origin</code> headers since the origin and the target are the same.</p>
  
  <p>However i get the following error;</p>
  
  <blockquote>
    <p>SEC7120: [CORS] The origin '<a href="https://example.com" rel="nofollow noreferrer">https://example.com</a>' did not find
    '<a href="https://example.com" rel="nofollow noreferrer">https://example.com</a>' in the Access-Control-Allow-Origin response
    header for cross-origin  resource at
    '<a href="https://example.com/iam/blablablabla" rel="nofollow noreferrer">https://example.com/iam/blablablabla</a>'</p>
  </blockquote>
  
  <p>This application works perfectly on Chrome or Firefox. It fails only on Edge. Is there something I am missing here? Can you show me some directions to understand the problem I have?</p>
  
  <p>P.S; I went forward and added the domain as allowed CORS origin on my server, too. It didn't work either.</p>