<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi,<div class=""><br class=""></div><div class="">I am new in MapProxy and I am implementing a cache service for WMS. </div><div class=""><br class=""></div><div class="">I have 2 problems as follow:</div><div class=""><br class=""></div><div class="">1. We use a JWT token to access our local WMS server and I need to be able to add the token in the request.</div><div class=""><br class=""></div><div class="">Is there a way to pass the dynamically generated token that is sent from our frontend client to MapProxy server and add the token to the URL ?</div><div class="">Ex.:  </div><div class=""><div style="line-height: 18px;" class=""><div style="background-color: rgb(255, 255, 255); font-family: Menlo, Monaco, "Courier New", monospace; white-space: pre; color: rgb(54, 54, 54);" class=""><span style="color: rgb(63, 151, 223);" class="">sources</span>:</div><div style="background-color: rgb(255, 255, 255); font-family: Menlo, Monaco, "Courier New", monospace; white-space: pre; color: rgb(54, 54, 54);" class="">  <span style="color: rgb(63, 151, 223);" class="">hochelaga_wms</span>:</div><div style="background-color: rgb(255, 255, 255); font-family: Menlo, Monaco, "Courier New", monospace; white-space: pre; color: rgb(54, 54, 54);" class="">    <span style="color: rgb(63, 151, 223);" class="">type</span>: <span style="color: rgb(162, 86, 55);" class="">wms</span></div><div style="background-color: rgb(255, 255, 255); font-family: Menlo, Monaco, "Courier New", monospace; white-space: pre; color: rgb(54, 54, 54);" class="">    <span style="color: rgb(63, 151, 223);" class="">req</span>:</div><div style="background-color: rgb(255, 255, 255); font-family: Menlo, Monaco, "Courier New", monospace; white-space: pre;" class=""><font color="#363636" class="">      </font><span style="color: rgb(63, 151, 223);" class="">url</span><font color="#363636" class="">: </font><a href="http://localhost:8765/api/mis/wms?organizationId=61403f98-859c-41df-a2b8-13707d4cd2b0&accessToken=theToken" class=""><font color="#a25637" class="">http://localhost:8765/api/mis/wms?organizationId=61403f98-859c-41df-a2b8-13707d4cd2b0&</font><font color="#ff1f00" class="">accessToken=theToken</font></a><font color="#a25637" class=""> </font></div><div style="background-color: rgb(255, 255, 255); font-family: Menlo, Monaco, "Courier New", monospace; white-space: pre; color: rgb(54, 54, 54);" class="">      <span style="color: rgb(63, 151, 223);" class="">layers</span>: <span style="color: rgb(162, 86, 55);" class="">97d4cf79-1113-4fd8-b24b-b66e68f7ee79</span></div><div style="background-color: rgb(255, 255, 255); font-family: Menlo, Monaco, "Courier New", monospace; white-space: pre; color: rgb(54, 54, 54);" class="">    <span style="color: rgb(63, 151, 223);" class="">coverage</span>:</div><div style="background-color: rgb(255, 255, 255); font-family: Menlo, Monaco, "Courier New", monospace; white-space: pre; color: rgb(54, 54, 54);" class="">      <span style="color: rgb(63, 151, 223);" class="">bbox</span>: [<span style="color: rgb(73, 104, 57);" class="">-8190253.484922162</span>, <span style="color: rgb(73, 104, 57);" class="">5704855.075392509</span>, <span style="color: rgb(73, 104, 57);" class="">-8185972.796654748</span>, <span style="color: rgb(73, 104, 57);" class="">5710579.22198825</span>]</div><div style="background-color: rgb(255, 255, 255);" class="">      <span style="color: rgb(63, 151, 223); font-family: Menlo, Monaco, "Courier New", monospace; white-space: pre;" class="">bbox_srs</span><font color="#363636" face="Menlo, Monaco, Courier New, monospace" class=""><span style="white-space: pre;" class="">: </span></font><span style="color: rgb(162, 86, 55); font-family: Menlo, Monaco, "Courier New", monospace; white-space: pre;" class="">'EPSG:3857</span><font color="#a25637" face="Menlo, Monaco, Courier New, monospace" class=""><span style="caret-color: rgb(162, 86, 55); white-space: pre;" class="">’</span></font></div><div class=""><span style="background-color: rgb(255, 255, 255);" class=""><br class=""></span></div><div class=""><span style="background-color: rgb(255, 255, 255);" class=""><br class=""></span></div><div class=""><span style="background-color: rgb(255, 255, 255);" class="">2. Our layers can change dynamically and I would like to know is there a way to update them in the .yaml config file for the </span>MapProxy server ? </div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Thank you,</div><div class="">Omer Tombul</div><div style="background-color: rgb(255, 255, 255);" class=""><br class=""></div></div></div></div></div></body></html>