AnsweredAssumed Answered

Javascript API Proxy setup with Portal Federated Server

Question asked by mtdave on Oct 19, 2015
Latest reply on Oct 19, 2015 by mtdave

Hi, I'm trying to figure out how to setup my Javascript API proxy.config "serverUrl" so it works with secured services on our Portal federated ArcGIS Server. I have not found any documentation that seems useful in this regard.


Our Portal is using default portal authentication and the ArcGIS Server is federated with the portal.


Do I use the ArcGIS Online style entry with clientId and clientSecret or do I use the ArcGIS Server token based pattern; username and password with tokenServiceUri? Or something else? Where does the token come from? Portal or Server?


If anyone could give me some examples, I would appreciate it.


Thanks, Dave