title: icCube - Web App unable to get resources from icCube server before external login
body: <p>Follow-up question to <a href="https://stackoverflow.com/questions/33824150/iccube-how-to-do-authentication-for-iccube-using-an-apache-web-server">this</a>.
  I am currently trying to set up a Web Application to display reports on an intranet site, using the intranet login to authenticate users, passing the authorization process to icCube. I'm trying to get it to work with a local install of xampp apache using basic auth and a local install of icCube. My scripts are based on <a href="http://demo3.iccube.com/icCube/doc/tutorial/ic3report-tutorial.html?ic3reportName=World%20Economy" rel="nofollow noreferrer">icCube's live demo</a>.</p>
  
  <p>When I start my Web App with an empty Cache &amp; Cookies, the App is unable to load, throwing me a lot of errors similar to these:
  <a href="https://i.stack.imgur.com/37iwY.png" rel="nofollow noreferrer">WebApp errors</a></p>
  
  <p>The reason for these errors is the fact that the GET-requests for the resources are answered with code 401, which is a text/html. This means that my WebApp is not authorized to fetch the .css and similar resources from the icCube-server.  </p>
  
  <p>Logging into my icCube interface solves the errors, as that authorizes my browser session to get data from my icCube server.</p>
  
  <p>Is there any workaround for this problem? As far as I know, the resource URIs are generated from the ic3root and ic3rootLocal passed to the ic3Start-function on the html-page, which means that I can not just pack all the .css-files into my apache folder and link them. </p>
  
  <p>Is it possible to authorize my WebApp to get these resources based on the same authorization process used to get my report selection (proxy configuration)?</p>