Bug report #21823

Problem with token-secured WFS service from ArcGIS Server

Added by Nicole Kamp over 5 years ago. Updated over 5 years ago.

Status:Closed
Priority:High
Assignee:Nyall Dawson
Category:Web Services clients/WFS
Affected QGIS version:3.4.6 Regression?:Yes
Operating System:Windows 10 Easy fix?:No
Pull Request or Patch supplied:No Resolution:invalid
Crashes QGIS or corrupts data:No Copied to github as #:29638

Description

When I try to add a token-secured WFS service from ArcGIS Server I get this error message:

Layer ist ungültig: Der Layer pagingEnabled='true' restrictToRequestBBOX='1' srsname='EPSG:32633' typename='TEST_Token_Museen:Museen_-50k' url='https://gis.stmk.gv.at/arcgis/services/TEST_Token/Museen/MapServer/WFSServer?token=xxx'
version='auto' table="" sql= ist kein gültiger Layer und kann nicht zur Karte hinzugefügt. Grund:

I changed the Token key to xxx. Do you know this bug? It works fine with the 2.18.15 release.

Thanks a lot,
Niki

History

#1 Updated by Giovanni Manghi over 5 years ago

  • Regression? changed from No to Yes
  • Priority changed from Normal to High

#2 Updated by Nyall Dawson over 5 years ago

  • Status changed from Open to Feedback

The correct way to do this is to use the authentication system, with the "ESRI Token" authentication type (or even better, use oauth2 authentication). Both approaches work fine with ArcGIS server based layers.

#3 Updated by Nicole Kamp over 5 years ago

  • Assignee set to Nyall Dawson

Thank you for your help! Now it works without any problems!

#4 Updated by Giovanni Manghi over 5 years ago

  • Resolution set to invalid
  • Status changed from Feedback to Closed

Also available in: Atom PDF