AnsweredAssumed Answered

Problem with IdentityManager sample script?

Question asked by stevel on Aug 27, 2013
I'm trying to learn about secure layers with a token so I'm checking out the IdentityManager sample.

Either I don't get it, or the sample is broken. Whether or not I enter a valid password, I see the same layers (you need to zoom out/pan right to see the polygons, which I presume are from the "secure" layer).

The source shows the layer https://servicesbeta.esri.com/ArcGIS/rest/services/SanJuan/TrailConditions/FeatureServer/0 - entering a valid password shows "invalid URL" since this service doesn't exist.

It appears the correct path is https://servicesbeta.esri.com/ArcGIS/rest/services/SanJuan/Trails/MapServer - I can't see anything in the REST API which shows whether or not these layers are secured and therefore require a login.

Anyway, the sample seems to be broken - unless I'm missing something.

Thanks,
Steve

Outcomes