Everything runs over https except the app itself which is http.When I change the following in the proxy config to https then even the basic map with no layers will start challenging (works otherwise).
<serverUrl url="http://www.arcgis.com"
clientId="ID"
clientSecret="SECRET"
username="USER"
password="PW"
rateLimit="600"
rateLimitPeriod="60"
matchAll="true">
</serverUrl>
No matter what I do the layers which run on https://services2.arcgis cause a challenge. I even have the following section in the proxy which make naff all difference.
<serverUrl url="https://services2.arcgis.com/gGQziFjRK38YOiW5/arcgis/rest/services"
clientId="ID"
clientSecret="SECRET"
username="USER"
password="PW"
rateLimit="600"
rateLimitPeriod="60"
matchAll="false">
</serverUrl>
I can't see anywhere where I can tell it to run the layers over http.Ta,D