Hi,
We defined some map service as private in ArcGIS Server Manager.
We generated a token for one year.
We use "map_service_URL +token" and put to a browser.
It shows the info about the map service.
When we try to "View in ArcGIS Online map viewer " - it asks user/password
Why? What is wrong in the steps to use secure map service?
The token allows u to bypass the IdentityManager in some way (by ajax u can do it but u need to provide the user and pass for getting the token).
If u use arcgis online to visualize the layers it will ask u for the user and pass cuz they are secured services.
Every secured service u need to log in with ur credentials. Or using the bypass that i told u (but it will work in apps that u want to develop).
Thank you Evelyn,
The same in the web app we developing. It asks for user/password every zoom in/out. But shows data even we press cancel on user/password request.
Is it expected behavior?
Actually if u are passing the token for every layer u added it doesnt have to ask u for password for each action u do on the map.
Make sure u are doing it well and the token works for every service u have.
It does not work even for one!