GeoNode / QGISGeoNodePlugin

A QGIS plugin that provides integration with GeoNode
https://geonode.org/QGISGeoNodePlugin/
GNU General Public License v3.0
11 stars 10 forks source link

Add support for basic authentication #222

Closed ricardogsilva closed 2 years ago

ricardogsilva commented 2 years ago

GeoNode seems to be able to work with HTTP basic auth. The GeoNode v2 API offer support for it and the GeoNode/GeoServer communication can apparently be made to work with basic auth too, by using GeoNode as proxy for GeoServer requests rather than contacting GeoServer directly.

As mentioned in geosolutions-it/nexus-geonode#563, using the GeoNode GeoServer proxy is a matter of replacing calls to /geoserver/<...> with /gs/<...>.

The /gs path does not seem to be documented nor exposed by the GeoNode API, at least not yet. However, it is very likely to become official going forward.

An interesting matter though is knowning how far back in GeoNode versioning does this /gs support go.