Select to view content in your preferred language

Use APP login to use GeoEnrichment service

654
1
03-20-2014 12:15 PM
zeshengcai
Deactivated User
Hello,

I am using Flex api to migrate BAO to GeoEnrichment. According to the sample
"https://developers.arcgis.com/flex/sample-code/enriching-a-location.htm",

I need to use the app login to let client have access to the GeoEnrichment service without login to ArcGIS Online themselves.  It seems I can use a proxy to do that like the sample did. "proxyURL="https://developers.arcgis.com/sproxy/"

But I do not know how to config that proxy. Can anyone tell me how to do that?

Thanks in advance!
Jason
Tags (2)
0 Kudos
1 Reply
BjornSvensson
Esri Regular Contributor
...According to the sample
"https://developers.arcgis.com/flex/sample-code/enriching-a-location.htm",

I need to use the app login to let client have access to the GeoEnrichment service without login to ArcGIS Online themselves.  It seems I can use a proxy to do that like the sample did. "proxyURL="https://developers.arcgis.com/sproxy/"a

But I do not know how to config that proxy. Can anyone tell me how to do that?...

To use any of the services that require AGO log in, here are three different options.

  1. Have app prompt user to login with their own log ins

  2. Use proxy storing a username/password

  3. Use proxy storing an app id and clientId/clientSecret


You can find a useful proxy at https://github.com/Esri/resource-proxy/.

If you go for option 3, you can create app ids at https://developers.arcgis.com/en/applications/ and if you want to read even more about OAuth you can look at https://developers.arcgis.com/authentication/app-logins.html.
0 Kudos