Skip to content

Insert credentials at runtime when connecting to secured services #10966

@MV88

Description

@MV88

Description

It is requested to introduce support for using Basic Auth header with specific layers that are marked as "protected"

Acceptance criteria

  • Possibility to specify Us/Pw for a catalog source via a button near url that opens the same popup for inserting credentials. UI should be designed at catalog level.
  • Provide that for all catalog types supported by MS (including also COG that is not enabled by default)
    • for openlayers
    • for cesium
    • not for leaflet
  • Once us/pw are provided the Basic Auth header is included in the OGC requests for layers belonging to that catalog source
  • The credentials must not be persisted within the resource configuration (map, dashboard etc)
  • When the resource is loaded, if there are 'protected' layers in TOC a MS's basic auth popup should be displayed so that users can provide the credentials (once per service, not per layer)
  • If there are no layers in TOC but a protected catalog source has been previously defined, the MS auth popup could be displayed only when trying to load contents form that source in the catalog (e.g. the search operation is triggered)
  • Better evaluate the possibility to use session/local storage for credentials

Other useful information

Metadata

Metadata

Labels

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions