Question

ArcGIS Server Feature Service Reader Token Authentication Issues


Badge

I am trying to read data from an ArcGIS Server Feature Service and am running into an issue with FME accepting the token. When I enter the Service URL into the parameters dialog, put the token in the token field and then test the connection by clicking the button to view the layers list I get an error that tells me it's an invalid token.

To access the feature service I have to log into a website using a username and password. From there I have to cut a token to connect to allow FME to authenticate to the ArcGIS Server service. I have no way of validating that the token I generated is correct but I followed the steps outlined in the following ESRI support document so I assume it is correct:

 

http://server.arcgis.com/en/server/10.3/administer...

The one suspicious piece of the puzzle is that my token seems to be truncated somewhat. Maybe its standard but each token I've generated ends in "..". This just does not seem right and I was hoping that maybe someone has experience trying to read data from a feature service that is set up in this way.

Any help would be much appreciated.

Thanks,

~Ben


3 replies

Userlevel 1
Badge +12

 

Here is a workbench that will download any Mapservice or FeatureService and allows for token security. Feel free to take make it work for your needs.

Or there is the token bit separated if you just want that.

This is just based around ArcGIS Server standard security and not Portal's Oauth2

Badge +10

Really cool. I wonder if the Portal reader/writer support's OAuth2 already. I suggested that on the Idea site.

Badge +14

Really cool. I wonder if the Portal reader/writer support's OAuth2 already. I suggested that on the Idea site.

OAuth2 is coming to the Portal reader/writer probably in 2020 I'm told.

Reply