I'm trying to setup an authentication architecture with a web app using arcgis Javascript api with a configured .NET proxy and a web adaptor.
When i load my app the identity manager shows up for locked resources.
- Do i really need the proxy?
- Why identity manager shows up on every page refresh when the validity is 60 minutes?
proxy.config
<ProxyConfig allowedReferers="*" logFile="proxylog.txt" mustMatch="false">
<serverUrls>
<serverUrl url = "http://arcgiserver.com/"
matchAll="true"
tokenServicesUri="http://arcgiserver.com/my_web_adaptor/tokens"
/>
</serverUrls>
</ProxyConfig>
-
Did you add in a new serverUrl for your resource?Chad Cooper– Chad Cooper2016年02月15日 15:59:31 +00:00Commented Feb 15, 2016 at 15:59
-
Yes i added a server URL. I update the question with my proxy.configArgiropoulos Stavros– Argiropoulos Stavros2016年02月16日 08:46:00 +00:00Commented Feb 16, 2016 at 8:46
1 Answer 1
When it comes to secure services, proxies are typically used to authenticate on behalf of end users so that they are not forced to provide their own credentials at all.
by default, the identity manager doesn't write any cookies to local storage, so refreshing the page requires that the end user sign in again. you can find an example application which demonstrates how to save sign-in information locally here.
Explore related questions
See similar questions with these tags.