In my web application hosted on IIS server (.Net web API & Angular 7), I am using SAML authentification and I have a problem when I try to log in the website for the first time, it shows me the error bellow:
If I press Ctrl+F5 or I referesh it works perfectly.
PS: I added all configurations needed of headers in my web.config like this :
<customHeaders>
<remove name="X-Powered-By" />
<add name="Access-Control-Allow-Origin" value="*"/>
<add name="Access-Control-Allow-Credentials" value="true" />
<add name="Access-Control-Allow-Headers" value="*" />
<add name="Access-Control-Allow-Methods" value="GET, POST, DELETE, PUT, OPTIONS" />
</customHeaders>
PS2: In my local environement I don't have this issue.
Thanks in advance for your help/advice.
