Token Authentication Issue

Discussion created by gisplanners on Jun 12, 2013
Latest reply on Jun 18, 2013 by shaun_weston-eagle-co-nz-esridist

I am just trying to access the secure map services in a browser which are hosted on ArcGIS Server 10.1.

Using the following statement, i am able to generate the token


I embedded the generated token using in  map service url as:

this returned me the service metadata but when i clicked "View in ArcGIS Javascript", another browser window got opened and started asking for user name and password to access the service.

So when i already provided the token then why it is again asking for user name and password.