Francesco,
You should rather set the GDAL_HTTP_HEADER_FILE configuration option /
environment variable to the filename of a text file which contains a
line like
Authorization: Bearer XXXX
Even
Le 08/07/2022 à 23:12, Francesco Bartoli a écrit :
Hi devs,
is that authentication mechanism supported to consume a GeoServer
layer protected by an OpenID Connect provider? I’m trying to implement
a pygeoapi collection protected by the same OIDC provider via the OGR
plugin but I need to figure out how the GDAL command line request
would look like to pass the bearer token through.
Do you have an example for the authentication scheme once the
*HttpAuth* has been set to *ANY* (ref.
https://gdal.org/drivers/vector/wfs.html#dataset-name-syntax)?
Thank you in advance for your help.
Francesco
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev
--
http://www.spatialys.com
My software is free, but my time generally not.
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev