Select to view content in your preferred language

Prevent new token on refresh or new session

824
2
04-03-2014 11:52 AM
JayHalligan
Occasional Contributor
I was wondering if there was a way to prevent a new token from being passed every time a refresh or new session is started.  Similar to this for Javascript:

https://developers.arcgis.com/javascript/jssamples/widget_identitymanager_client_side.html

It is very inconvenient to have to login every time someone accesses or refreshes a secured service/s.  I am looking for some help on keeping the token alive for as long as specified in the ArcGIS Server Manager token settings (or hard coded).  Is this even possible?
Tags (2)
0 Kudos
2 Replies
AaronNash1
Frequent Contributor
did you check out this sample?
0 Kudos
JayHalligan
Occasional Contributor
Thanks, but wont OAuth only connect to ArcGIS for Organizations through portal?  I need to save authentication locally for ArcGIS Built in security.  We are currently on Server 10.1.
0 Kudos