Solved! Go to Solution.
If the proxy is adding a token and no security error is returned to the client, then the IdentityManager should not be showing the sign in dialog.
Since creating an instance of the Portal also enables the IdentityManager, try adding this after line 45 of PortalBasemapAppender:
IdentityManager.instance.enabled = false;
<esri:ArcGISDynamicMapServiceLayer url="https://ServerName/ArcGIS/rest/services/Secure/USASecured/MapServer" proxyURL="proxy.ashx" />
Heather,
Thanks for your response. We're already using the updated proxy.ashx page and been using it without issue with Flex Viewer 2.5. As you suggested I created a basic sample app and this accessed the secure service via the proxy credentials without issue. In answer to the detailed questions in your first post
1/ Yes
2/ Yes
3/ Yes - see previous post for setup of proxy.config
4/ I wish this were true!
Thanks a lot