0

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.

  1. Do i really need the proxy?
  2. 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>
2
1
  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.

  2. 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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.