[MapServer-dev] preserving extra query parameters with ogc features api

Seth G sethg at geographika.co.uk
Fri Jun 20 13:05:22 PDT 2025


Hi Mike,

I thought this had been addressed, see comments in https://github.com/MapServer/MapServer/pull/6400#issuecomment-936458600 - although not documented (see 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://mapserverstudio.net
mastodon: @geographika at mastodon.social

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 at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapserver-dev


More information about the MapServer-dev mailing list