koopjs / koop

Transform, query, and download geospatial data on the web.
http://koopjs.github.io
Other
651 stars 125 forks source link

OwningSystemUrl breaks ArcGIS Pro authentication #979

Closed mtrcn closed 2 months ago

mtrcn commented 2 months ago

In the recent change, OwningSystemUrl was added to RestInfo but it comes with another problem, now ArcGIS Pro authentication is not working because it thinks the Feature Layer is federated by an ArcGIS Portal and subsequent requests to KoopJs is failing with 404 errors.

https://github.com/koopjs/koop/blob/5cb4c20a4cca049d5615b2e6e07c515bffb2318e/packages/featureserver/src/rest-info-route-handler.js#L20

rgwozdz commented 2 months ago

@mtrcn - thanks for this. We'll get it sorted out ASAP.

rgwozdz commented 2 months ago

@mtrcn - see https://github.com/koopjs/koop/pull/980

mtrcn commented 2 months ago

Thanks for the quick fix, it looks good to me, on the other hand, we keep getting the credentials dialogue in ArcGIS Pro when we are using KoopJS layers even though we checked the store credentials option, it might be related to ArcGIS Pro 3.2, do you have any idea on this?

rgwozdz commented 2 months ago

Ok, this is good to know. It is only happening in Pro? what happens if you add the service to a ArcGIS Online map app?

mtrcn commented 2 months ago

AOL and JS API works fine with it but ArcGIS Pro has the problem.

rgwozdz commented 2 months ago

Ok, I will open up as a separate issue.

rgwozdz commented 2 months ago

Fixed in 10.4.5.