Skip to content

Feature Request: Add support for custom query parameters and authentication in Geomap WMS panel #78

@frankli-n

Description

@frankli-n

Use case / problem

I’m embedding a secured WMS-T service (Delft-FEWS) into Grafana Cloud’s Geomap panel.
Currently the panel only lets me specify:

  • A base URL (it auto-appends ?SERVICE=WMS&REQUEST=…)
  • A layer picker
  • Display options (opacity, legend, attribution)

My WMS endpoint requires either:

  1. A token=<static-token> query parameter on every request, or
  2. HTTP Basic Auth / Bearer token in the Authorization: header

Since the panel strips any extra ?… parameters from the base URL and has no fields for headers, the only workaround is to stand up an external proxy (e.g. Cloudflare Worker) to re-inject the token and CORS headers. That is awkward, brittle, and forces users to host additional infrastructure.

Proposal

Enhance the Geomap WMS panel configuration to support:

  1. Custom query parameters
    A simple key/value table (e.g. tokenxyz) that Grafana will append to all WMS calls (GetCapabilities, GetMap, GetLegendGraphic, etc.).

  2. Custom HTTP headers
    Fields for Authorization (and any other headers) so secure services can be accessed directly from the browser without CORS-workarounds.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions