Generate Token for ArcGIS Server 10.2

4604
4
08-06-2013 08:52 AM
StephanieSnider
Occasional Contributor III
Since ESRI doesn't have a 10.2 forum yet, I'm posting this to the 10.1 forum.

I just upgraded to ArcGIS Server 10.2.  I noticed that the "Get Token" link is no longer availabe in the Rest Services Directory.  I can generate a token from the Admin Directory.  Is this how we are supposed to do it now?  I haven't found any documentation on creating tokens in 10.2. 

From the Web Adaptor, I can still get to https://servername/arcgis/tokens/ even though it is not linked anywhere.  If we had the admin access enabled (which we will not for production), the Admin directory token page is https://servername/arcgis/admin/generateToken.  Note I'm using https because I have secure services enabled.

Is it me or is token generatation more hidden in 10.2 than 10.1?  What's up with that?  Why remove it from the REST Services Directory?

Stephanie
Tags (2)
0 Kudos
4 Replies
KimPeter
Esri Contributor
It looks like the disappearance of the Get Token link is a bug (NIM093798); it shouldn't be hidden.  Thank you for bringing this to our attention. 🙂
0 Kudos
shreyesshiv
New Contributor III
It looks like the disappearance of the Get Token link is a bug (NIM093798); it shouldn't be hidden.  Thank you for bringing this to our attention. 🙂


Hi, in this case how do i create a token based service in ArcGIS Server 10.2?
If there is a process can you please provide the documentation on it.
0 Kudos
BhavdeepSachdev
New Contributor II
I see the status of the bug as "resolved" but I still have the same problem on 10.2.1. We just upgraded the server and this problem started.
All http get requests sent to token service are redirected to "http://<server ip>:6080/arcgis"

e.g.
This url
http://<server ip>:6080/arcgis/tokens?request=getToken&username=<username>&password=<password>&expiration=5


gets redirected to

http://<server ip>:6080/arcgis
0 Kudos
chandesrisbasile1
Occasional Contributor

For AGS 10.2.2, the documentation is available at:

http://<server>:6080/arcgis/sdk/rest/index.html#/Generate_Token/02ss00000059000000/

0 Kudos