I need to access a geoserver to get images (through wms service) which is protected by username and password (base auth) in a shiny APP. Currently, I use https://username:password@server-url/wms
to access geoserver. However, these method allow show username and password in the requests.
I have tried to call GET
function in httr package, but doesn't work for me
a <- GET(wms_url, authenticate(user, password))
How could I hide the username and password?