NCEAS / metacatui

MetacatUI: A client-side web interface for DataONE data repositories
https://nceas.github.io/metacatui
Apache License 2.0
42 stars 26 forks source link

Add HTTPBasicAuth credentials to header in requests for certain Cesium layers #2335

Closed iannesbitt closed 3 months ago

iannesbitt commented 3 months ago

Describe the feature you'd like Cesium should be configurable to pass at least HTTPBasicAuth credentials, and in the future perhaps other credentials (JWT tokens, for example).

Is your feature request related to a problem? Please describe. We need a way to be able to restrict access to certain Cesium resources, and as such Cesium needs to be able to access those resources.

Additional context Cesium has a support page describing how to do this here: https://community.cesium.com/t/basic-authorization-headers/8103

iannesbitt commented 3 months ago

We have successfully worked around this issue in the DRP by requiring that LDAP credentials be supplied to access certain assets requested by Cesium. Closing as not planned.