It does work if I use cookies, but using it via ArcGIS Pro or QGIS doesn't keep 
the cookies and if I pass something like items?f=json&access_token=xxxxxxx, 
none of the urls maintain the extra param. 

Mike


-- 

Michael Smith 
RSGIS Center – ERDC CRREL NH 
US Army Corps 





On 6/20/25, 4:05 PM, "Seth G" <se...@geographika.co.uk 
<mailto:se...@geographika.co.uk>> wrote:


Hi Mike,


I thought this had been addressed, see comments in 
https://github.com/MapServer/MapServer/pull/6400#issuecomment-936458600 
<https://github.com/MapServer/MapServer/pull/6400#issuecomment-936458600> - 
although not documented (see 
https://github.com/MapServer/MapServer-documentation/issues/855 
<https://github.com/MapServer/MapServer-documentation/issues/855>). 


You can add "oga_compliance_mode" "false" but this should be the default. Does 
your Mapfile have this set to "true" anywhere?


I'm using OGC Features API with security tokens passed via cookies, which 
MapServer treats as querystrings, so not sure why your setup isn't working,


Seth




--
web:https://geographika.net <https://geographika.net> & 
https://mapserverstudio.net <https://mapserverstudio.net>
mastodon: @geograph...@mastodon.soci <mailto:geograph...@mastodon.soci>al


On Fri, Jun 20, 2025, at 8:58 PM, Michael Smith via MapServer-dev wrote:
> Since we use authentication (via oauth2) with out OGC services (WFS) we 
> rely on carrying along an extra query parameter (access_token=XXXX) for 
> our queries. Now I’m trying to do this with OGC Features API and an 
> extra query parameters are removed from all the urls rather than just 
> being carried though. 
>
> Does anyone know a way to do this and carry custom params though the 
> OGC Features API access? Something that needs development?
>
>
> Michael Smith
> Remote Sensing / GIS Center
> US Army Corps
>
> _______________________________________________
> MapServer-dev mailing list
> MapServer-dev@lists.osgeo.org <mailto:MapServer-dev@lists.osgeo.org>
> https://lists.osgeo.org/mailman/listinfo/mapserver-dev 
> <https://lists.osgeo.org/mailman/listinfo/mapserver-dev>




_______________________________________________
MapServer-dev mailing list
MapServer-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-dev

Reply via email to