No ‘Access-Control-Allow-Origin’ header is present on the requested resource

So just to understand you correctly. You are having the same issue as in this topic:

You can set the CORS headers but because a OPTIONS call gets made first it does not work?