You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
this is due to this if which is not true and there fore the authkey is not added. we should add this SLD when the requests comes from GetLegendGraphich
Initial Investigation:
I have noticed a discrepancy between the dev and local(master).
Testing on: https://dev-mapstore.geosolutionsgroup.com/mapstore/#/context/demo_context/46500
Layer- alberi_pubblici
On dev, able to expand for the legend as its layer is not failing
On local(master) (logged in as the same user) - not able to expand as it is layer is already failing. authKey is missing on local for GetMap also
Dev:
Local:
@tdipisa@MV88 Am I missing something on the config level?
Description
Not sure it is a regression or a new bug, but it seems the authkey is not sent with MWS GetLegendGraphic requests.
How to reproduce
Expected Result
The authkey param is sent as query parameter in WMSGetLegendGraphic requests performed by MS
Current Result
The authkey is not included
Browser info
(use this site: https://www.whatsmybrowser.org/ for non expert users)Other useful information
this is due to this if which is not true and there fore the authkey is not added. we should add this SLD when the requests comes from GetLegendGraphich
8b44c0e#diff-c8a7cdc28e2e637335975a5a48e6aafc95c21dd42f99d30d3714e2d4423f77a1R625
we can add an if clause here for authkey that adds it if the method is authkey
https://github.com/geosolutions-it/MapStore2/blob/master/web/client/components/misc/SecureImage.jsx#L34
DO NOT alter code for addAuthenticationToSLD, but prefer to use addAuthenticationParameter in SecureImage
The text was updated successfully, but these errors were encountered: