WMS service basic authentication
I am building a leaflet map on a server without root access.
I’d like to add a WMS service which is secured by basic authentication(username and password).
There is a simple method in leaflet adding WMS services with L.tileLayer.wms but this does not work for secured WMS services. So is there a way I can authenticate at the wms server and receive the WMS tiles and parse them to leaflet? Adding the login credentials to the WMS URL (f.e. https://username:[email protected])does not work for me.