XMLHttpRequest cannot load - Origin 'null' is therefore not allowed access
<p>I am doing a login to connect through a service layer to a Linux server that has sap b1, and I get the following error.</p>

<p><code>XMLHttpRequest</code> cannot load <a href="https://hanab1:50000/b1s/v1/Login" rel="nofollow">https://hanab1:50000/b1s/v1/Login</a>. A wildcard '*' cannot be used in the 'Access-Control-Allow-Origin' header when the credentials flag is true. Origin 'null' is therefore not allowed access.</p>

<p>I find from google chrome and despite attempts, always the same error is generated, the funny thing is that when we perform the video <a href="https://www.youtube.com/watch?v=ilDH8nhnp4o,I" rel="nofollow">https://www.youtube.com/watch?v=ilDH8nhnp4o,I</a> get the error above dimensioned, but when I enter the URL directly the next line <code>https://hanab1:50000/B1S/v1</code>, see I have access to all information.</p>

<p>If anyone can help me in advance I thank you for your collaboration and interest.</p>