how to connect to arcgis.com secured services?

783
4
05-24-2017 11:38 AM
shaileshgavathe
Occasional Contributor II

Was trying to connect to service below,

https//landscape1.arcgis.com/arcgis/rest/services/USA_Hazardous_Waste_Sites/MapServer

Have not connected to secured services before on ArcGIS.com. So was wondering, how connect to this service?

Will appreciate the idea on how to connect.

0 Kudos
4 Replies
KellyHutchins
Esri Frequent Contributor

Are you trying to connect to this service from a custom app you are creating? If so this doc from the JSAPI help explains how to accomplish that task. 

Working with secure resources | Guide | ArcGIS API for JavaScript 3.20 

0 Kudos
shaileshgavathe
Occasional Contributor II

Thank you Kelly for the time and effort in responding the question.

I was trying to add the service below (which is secured as you can see on the browser, it redirects to get token) into ArcGIS online map and view it first.

https//landscape1.arcgis.com/arcgis/rest/services/USA_Hazardous_Waste_Sites/MapServer

I was wondering, how do I get the token from ArcGIS.com secured services? Do we have to purchase any ArcGIS.com license so we could connect to such services.

Thank you again,

0 Kudos
MarcellaCavallaro
Esri Contributor

shailesh gavathe‌ Here is a place to find EPA data: Environmental Dataset Gateway | US EPA  

You need to be a member of an ArcGIS online organization to access that premium content. I can work with you to add you to your organizations account. 

0 Kudos
shaileshgavathe
Occasional Contributor II

Hi Marcella,

Thank you for the response and sharing the free EPA service. We will definitely use the service that you shared.

Thanks and Regards,

Shailesh Gavathe

0 Kudos