Replies: 1 comment 1 reply
-
Supplying the credentials in Hajk's Admin would expose them in layers.json, which is fetched by client and easily accessible for anyone. The way I've solved it in our organisation is using a reverse proxy and supply the credentials there. You can use any solution you wish, or just go for the easy option which is built-in into the NodeJS backend. See: Line 118 in b0ef09f Depending on your setup (i.e. if the server accepts the credentials as basic HTTP query params), you could do something like:
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi guys!
I wonder if there is a way to add layers with credentials in Hajk? We are using QGIS-server for Open-data and Geoserver for data that requires credentials. Directly in the Hajk-admin I dont see thart possibility. Can someone light me up with this question?
Thank you for your time!
Abel
Beta Was this translation helpful? Give feedback.
All reactions