<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Problem adding a secured wms layer from Geoserver to AGOL in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/problem-adding-a-secured-wms-layer-from-geoserver/m-p/247017#M12157</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hmm everything seems good from what I can tell. It looks like you only allow specific&amp;nbsp;origins to connect? Would it be possible to add &lt;A href="https://prodtesting.maps.arcgis.com"&gt;https://prodtesting.maps.arcgis.com&lt;/A&gt;&amp;nbsp;as well, if so (when i check with this origin instead of yours, i'm not seeing any CORS headers returned)? That should&amp;nbsp;help with debugging.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Jun 2019 05:04:27 GMT</pubDate>
    <dc:creator>ChrisWhitmore</dc:creator>
    <dc:date>2019-06-27T05:04:27Z</dc:date>
    <item>
      <title>Problem adding a secured wms layer from Geoserver to AGOL</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/problem-adding-a-secured-wms-layer-from-geoserver/m-p/247012#M12152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 12px;"&gt;Hi everyone,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12px;"&gt;I am having&amp;nbsp;some&amp;nbsp;unexpected behaviour when attempting to access a secured&amp;nbsp;layer&amp;nbsp;from Geoserver, in AGOL.&amp;nbsp; I have a GEOSERVER instance that responds to both HTTP and HTTPS requests (it redirects http to https), it has both secured and unsecured layers and has CORS configured.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12px;"&gt;Problems with addition of domain to trusted server list:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12px;"&gt;I have tried to add the Geoserver domain to the trusted sites list with some issues - &lt;/SPAN&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN style="font-size: 12px;"&gt;&lt;SPAN style="font-size: 12px;"&gt;Adding the domain&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN data-contrast="auto" lang="EN-GB" style="font-size: 12px;"&gt;&lt;A href="https://eo4c-geoserver.envsys.co.uk/geoserver/eo4c_data_delivery/wms?service=WMS&amp;amp;version=1.1.0&amp;amp;request=GetMap&amp;amp;layers=eo4c_data_delivery%3Andvi_bonanza_20190603T1526_10m_cmask_epsg32618&amp;amp;bbox=634569.9743666075%2C1244542.8142888816%2C635531.0437974919%2C1245263.616362045&amp;amp;width=768&amp;amp;height=576&amp;amp;srs=EPSG%3A4326&amp;amp;format=image/geotiff" rel="noreferrer" target="_blank"&gt;eo4c-geoserver.envsys.co.uk&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN data-contrast="auto" lang="EN-GB"&gt;&lt;SPAN style="font-size: 12px;"&gt;&amp;nbsp; to the trusted list, results in the following error&lt;/SPAN&gt;&lt;SPAN style="font-size: 14.6667px;"&gt;&amp;nbsp;&lt;SPAN style="font-size: 12px;"&gt;when trying to add a layer to a map&lt;/SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="" data-contrast="auto" lang="EN-GB" style="font-size: 11pt;"&gt;&lt;SPAN style="background-color: inherit; font-size: 12px; "&gt;&lt;EM&gt;'&lt;SPAN style="color: #ff0000;"&gt;The WMS service, https://eo4c-geoserver.envsys.co.uk/geoserver/eo4c_data_delivery/wms?version=1.1.0, cannot be added to the map. It is either not available or you have entered an invalid URL for the type of layer you want to reference.'&lt;/SPAN&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class="" data-contrast="auto" lang="EN-GB" style="background-color: #ffffff; font-size: 11pt; color: #333333;"&gt;&lt;SPAN style="background-color: inherit; font-size: 12px; "&gt;Adding the http protocol to the domain (&lt;SPAN style="color: #444444; background-color: #ffffff;"&gt;&lt;A href="https://eo4c-geoserver.envsys.co.uk)"&gt;http://eo4c-geoserver.envsys.co.uk)&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;in the trusted servers list&amp;nbsp; s&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px;"&gt;eems to work in the sense that I can access and the layer but I am not prompted for a username or password - as this is a secured layer I want to be prompted for credentials.&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 12px;"&gt;If I add the domain with the&amp;nbsp;https protocol (&lt;SPAN style="color: #444444; background-color: #ffffff;"&gt;&lt;A href="https://eo4c-geoserver.envsys.co.uk"&gt;https://eo4c-geoserver.envsys.co.uk&lt;/A&gt;)&amp;nbsp;&lt;/SPAN&gt;it fails to find the resource when&amp;nbsp;attempting to add&amp;nbsp;a layer&amp;nbsp;- the error is once again the same as in point 1 above.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN style="font-size: 12px;"&gt;If I don't add the&amp;nbsp;domain to the trusted&amp;nbsp;servers list, I am able to add the layer without any problems and am not prompted for passwords - again undesirable behaviour.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12px;"&gt;Can anyone please explain why the https protocol appears to be a problem, or for that matter why the domain on its own as in point 1 above fails and why I am able to access the resource without being prompted for a username and password as in point 2 above, or why the behaviour is the same whether the domain is in the trusted list or not.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12px;"&gt;If this is a CORS config issue, does anyone know what the correct CORS config should be (see my CORS config in attached file).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12px;"&gt;I have tested that this resource is indeed secured using both Qgis and via get requests in the browser, in both cases I am prompted for credentials.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12px;"&gt;Any help would be greatly appreciated.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jun 2019 14:48:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/problem-adding-a-secured-wms-layer-from-geoserver/m-p/247012#M12152</guid>
      <dc:creator>SuzanaBarreto</dc:creator>
      <dc:date>2019-06-20T14:48:42Z</dc:date>
    </item>
    <item>
      <title>Re: Problem adding a secured wms layer from Geoserver to AGOL</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/problem-adding-a-secured-wms-layer-from-geoserver/m-p/247013#M12153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Suzana,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It doesn't look like CORS is configured correctly - when I add your GeoServer instance (After adding the domain to my org's trusted servers list), I'm not seeing any CORS headers in the response:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/451177_pastedImage_5.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It looks like the web server you have set up as a reverse proxy / load balancer&amp;nbsp;may be overriding the CORS configuration set up on your GeoServer instance (but just a guess based on your comments above and what the response headers are returning). There may be other issues downstream but this would seem to be the first obstacle.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Cheers,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Chris&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Jun 2019 15:26:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/problem-adding-a-secured-wms-layer-from-geoserver/m-p/247013#M12153</guid>
      <dc:creator>ChrisWhitmore</dc:creator>
      <dc:date>2019-06-21T15:26:27Z</dc:date>
    </item>
    <item>
      <title>Re: Problem adding a secured wms layer from Geoserver to AGOL</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/problem-adding-a-secured-wms-layer-from-geoserver/m-p/247014#M12154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help so far, I have now configured the CORS configuration on the&amp;nbsp;proxy server too and although I can see that the following headers when doing a curl request, I am still experiencing the same issues in regards to adding the domain to the trusted servers for my organisation, and then accessing the&amp;nbsp;resource. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTTP/1.1 200 &lt;BR /&gt;Server: nginx/1.14.0 (Ubuntu)&lt;BR /&gt;Date: Mon, 24 Jun 2019 15:38:03 GMT&lt;BR /&gt;Content-Type: text/xml;charset=UTF-8&lt;BR /&gt;Content-Length: 560&lt;BR /&gt;Connection: keep-alive&lt;BR /&gt;vary: Origin&lt;BR /&gt;Access-Control-Allow-Credentials: true&lt;BR /&gt;Access-Control-Expose-Headers: Access-Control-Allow-Origin,Access-Control-Allow-Credentials&lt;BR /&gt;X-Frame-Options: SAMEORIGIN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there anything blatantly obvious that I am missing or do you have any ideas where I might look next?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;Suzana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jun 2019 15:53:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/problem-adding-a-secured-wms-layer-from-geoserver/m-p/247014#M12154</guid>
      <dc:creator>SuzanaBarreto</dc:creator>
      <dc:date>2019-06-24T15:53:55Z</dc:date>
    </item>
    <item>
      <title>Re: Problem adding a secured wms layer from Geoserver to AGOL</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/problem-adding-a-secured-wms-layer-from-geoserver/m-p/247015#M12155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Suzana, for sure..closer but there still seems to be&amp;nbsp;some issues with the CORS headers. I'm not seeing any in the response headers coming back for the&amp;nbsp;initial request to the WMS service (for the capabilities doc). The browser shows a console error that indicates&amp;nbsp;`&lt;SPAN&gt;Access-Control-Allow-Origin` header is not being returned..same thing in&amp;nbsp;the headers you posted above too it looks like. Even though defined as an allowed property in the Access-Control-Expose-Headers list, think it would still need to be returned as its own property.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the error message the browser's console shows when adding the wms:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/451493_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jun 2019 06:23:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/problem-adding-a-secured-wms-layer-from-geoserver/m-p/247015#M12155</guid>
      <dc:creator>ChrisWhitmore</dc:creator>
      <dc:date>2019-06-26T06:23:45Z</dc:date>
    </item>
    <item>
      <title>Re: Problem adding a secured wms layer from Geoserver to AGOL</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/problem-adding-a-secured-wms-layer-from-geoserver/m-p/247016#M12156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chris,&lt;/P&gt;&lt;P&gt;Yes you were right, after having configured the nginx server and&amp;nbsp;also checking that&amp;nbsp;the response contained the&amp;nbsp;'Access-Control-Allow-Origin: &lt;A href="https://envsys.maps.arcgis.com"&gt;https://envsys.maps.arcgis.com&lt;/A&gt;&amp;nbsp;' header I had further issues with duplicate values for&amp;nbsp;Access-Control-Allow-Credentials: true.&amp;nbsp; I now no longer have any header errors in my JS console but am still not being prompted for credentials.&amp;nbsp; Also doing a capabilities request with version set to 1.1.0 gives me the same errors as above (no JS errors though)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cUrl and headers:&lt;/P&gt;&lt;P&gt;curl -H "Origin: https://envsys.maps.arcgis.com" --head 'https://eo4c-geoserver.envsys.co.uk/geoserver/eo4c_data_delivery/wms?service=WMS&amp;amp;version=1.1.0&amp;amp;request=GetCapabilities' &lt;BR /&gt;HTTP/1.1 200 &lt;BR /&gt;Server: nginx/1.14.0 (Ubuntu)&lt;BR /&gt;Date: Wed, 26 Jun 2019 10:20:26 GMT&lt;BR /&gt;Content-Type: application/vnd.ogc.wms_xml&lt;BR /&gt;Content-Length: 168472&lt;BR /&gt;Connection: keep-alive&lt;BR /&gt;vary: Origin&lt;BR /&gt;Access-Control-Allow-Origin: https://envsys.maps.arcgis.com&lt;BR /&gt;Access-Control-Allow-Credentials: true&lt;BR /&gt;Access-Control-Expose-Headers: Access-Control-Allow-Origin,Access-Control-Allow-Credentials&lt;BR /&gt;X-Frame-Options: SAMEORIGIN&lt;BR /&gt;Cache-Control: max-age=0, must-revalidate&lt;BR /&gt;Content-Disposition: inline; filename=getcapabilities_1.3.0.xml.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;preflight request headers:&lt;/P&gt;&lt;P&gt;&amp;gt; Host: eo4c-geoserver.envsys.co.uk&lt;BR /&gt;&amp;gt; User-Agent: curl/7.58.0&lt;BR /&gt;&amp;gt; Accept: */*&lt;BR /&gt;&amp;gt; Origin: https://envsys.maps.arcgis.com&lt;BR /&gt;&amp;gt; Access-Control-Request-Method: GET&lt;BR /&gt;&amp;gt; Access-Control-Request-Headers: X-Requested-With&lt;BR /&gt;&amp;gt; &lt;BR /&gt;&amp;lt; HTTP/1.1 204 No Content&lt;BR /&gt;&amp;lt; Server: nginx/1.14.0 (Ubuntu)&lt;BR /&gt;&amp;lt; Date: Wed, 26 Jun 2019 10:38:35 GMT&lt;BR /&gt;&amp;lt; Connection: keep-alive&lt;BR /&gt;&amp;lt; Access-Control-Allow-Origin: https://envsys.maps.arcgis.com&lt;BR /&gt;&amp;lt; Access-Control-Allow-Credentials: true&lt;BR /&gt;&amp;lt; Access-Control-Allow-Methods: GET, POST, OPTIONS&lt;BR /&gt;&amp;lt; Access-Control-Allow-Headers: DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type&lt;BR /&gt;&amp;lt; Access-Control-Max-Age: 1728000&lt;BR /&gt;&amp;lt; Access-Control-Expose-Headers: Access-Control-Allow-Origin,Access-Control-Allow-Credentials&lt;BR /&gt;&amp;lt; Content-Type: text/plain charset=UTF-8&lt;BR /&gt;&amp;lt; Content-Length: 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am now pretty confident that the configuration is correct and I know that my layer is secured.&amp;nbsp; I have tested this in firefox and chromium.&amp;nbsp; I do notice that although I can access the layer, in firefox, I cannot view the layer, and in chromium there is a 401 returned on the XHR request - I also cannot view the layer.&amp;nbsp; Is there perhaps some other header that AGOL expects that is missing?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;XHR headers:&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;HTTP/1.1 200 &lt;BR /&gt;Server: nginx/1.14.0 (Ubuntu)&lt;BR /&gt;Date: Wed, 26 Jun 2019 12:36:55 GMT&lt;BR /&gt;Content-Type: text/xml&lt;BR /&gt;Transfer-Encoding: chunked&lt;BR /&gt;Connection: keep-alive&lt;BR /&gt;vary: Origin&lt;BR /&gt;Access-Control-Allow-Origin: https://envsys.maps.arcgis.com&lt;BR /&gt;Access-Control-Allow-Credentials: true&lt;BR /&gt;Access-Control-Expose-Headers: Access-Control-Allow-Origin,Access-Control-Allow-Credentials&lt;BR /&gt;X-Frame-Options: SAMEORIGIN&lt;BR /&gt;Cache-Control: max-age=0, must-revalidate&lt;BR /&gt;Content-Disposition: inline; filename=getcapabilities_1.3.0.xml&lt;BR /&gt;Content-Encoding: gzip&lt;BR /&gt;Access-Control-Allow-Methods: GET, POST, HEAD, OPTIONS&lt;BR /&gt;Access-Control-Allow-Headers: Accept,Origin,DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;EDIT**&lt;/DIV&gt;&lt;DIV class=""&gt;I have been examining the JS console in firefox and notice that there appear to be 2 requests - the first is an XHR request, this request is made at the point when the get capabilities is requested (get layer is clicked), the second is a request, and I gather this is made when the add layer&amp;nbsp;button is clicked.&amp;nbsp; This request does not have an origin header, and neither does the response.&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jun 2019 12:46:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/problem-adding-a-secured-wms-layer-from-geoserver/m-p/247016#M12156</guid>
      <dc:creator>SuzanaBarreto</dc:creator>
      <dc:date>2019-06-26T12:46:32Z</dc:date>
    </item>
    <item>
      <title>Re: Problem adding a secured wms layer from Geoserver to AGOL</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/problem-adding-a-secured-wms-layer-from-geoserver/m-p/247017#M12157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hmm everything seems good from what I can tell. It looks like you only allow specific&amp;nbsp;origins to connect? Would it be possible to add &lt;A href="https://prodtesting.maps.arcgis.com"&gt;https://prodtesting.maps.arcgis.com&lt;/A&gt;&amp;nbsp;as well, if so (when i check with this origin instead of yours, i'm not seeing any CORS headers returned)? That should&amp;nbsp;help with debugging.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jun 2019 05:04:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/problem-adding-a-secured-wms-layer-from-geoserver/m-p/247017#M12157</guid>
      <dc:creator>ChrisWhitmore</dc:creator>
      <dc:date>2019-06-27T05:04:27Z</dc:date>
    </item>
    <item>
      <title>Re: Problem adding a secured wms layer from Geoserver to AGOL</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/problem-adding-a-secured-wms-layer-from-geoserver/m-p/247018#M12158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for the delay, I have now added your domain to my server's allowed origins CORS config.&amp;nbsp; Thanks for your time and help so far, it is much appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jul 2019 08:57:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/problem-adding-a-secured-wms-layer-from-geoserver/m-p/247018#M12158</guid>
      <dc:creator>SuzanaBarreto</dc:creator>
      <dc:date>2019-07-01T08:57:11Z</dc:date>
    </item>
    <item>
      <title>Re: Problem adding a secured wms layer from Geoserver to AGOL</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/problem-adding-a-secured-wms-layer-from-geoserver/m-p/247019#M12159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Awesome thanks! There still seems to be something going on with the response. The CORS headers look correct but the browser is expecting a 401 http response rather than a 200. The 401 code indicates to the browser that authentication is required for the request.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jul 2019 21:45:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/problem-adding-a-secured-wms-layer-from-geoserver/m-p/247019#M12159</guid>
      <dc:creator>ChrisWhitmore</dc:creator>
      <dc:date>2019-07-02T21:45:59Z</dc:date>
    </item>
    <item>
      <title>Re: Problem adding a secured wms layer from Geoserver to AGOL</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/problem-adding-a-secured-wms-layer-from-geoserver/m-p/247020#M12160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chris,&lt;/P&gt;&lt;P&gt;yes I understand that, but are you saying that it needs to return a 401 at the point where the get capabilities is first requested?&amp;nbsp; The process appears to be add the URL, click get layers -&amp;gt; XHR request is made 200 returned, select the layer and click get layer -&amp;gt; GET request which returns a 401.&amp;nbsp; I will attempt to make it return the 401 at first attempt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jul 2019 08:18:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/problem-adding-a-secured-wms-layer-from-geoserver/m-p/247020#M12160</guid>
      <dc:creator>SuzanaBarreto</dc:creator>
      <dc:date>2019-07-03T08:18:42Z</dc:date>
    </item>
    <item>
      <title>Re: Problem adding a secured wms layer from Geoserver to AGOL</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/problem-adding-a-secured-wms-layer-from-geoserver/m-p/247021#M12161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for all your time and help, that resolved the issue.&amp;nbsp; I had secured the layer, but needed to secure the&amp;nbsp;WMS service too.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jul 2019 08:54:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/problem-adding-a-secured-wms-layer-from-geoserver/m-p/247021#M12161</guid>
      <dc:creator>SuzanaBarreto</dc:creator>
      <dc:date>2019-07-03T08:54:19Z</dc:date>
    </item>
    <item>
      <title>Re: Problem adding a secured wms layer from Geoserver to AGOL</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/problem-adding-a-secured-wms-layer-from-geoserver/m-p/247022#M12162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Suzana, great, good to hear! Glad to be of help. Let me know if you run into anything else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jul 2019 19:51:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/problem-adding-a-secured-wms-layer-from-geoserver/m-p/247022#M12162</guid>
      <dc:creator>ChrisWhitmore</dc:creator>
      <dc:date>2019-07-03T19:51:12Z</dc:date>
    </item>
    <item>
      <title>Re: Problem adding a secured wms layer from Geoserver to AGOL</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/problem-adding-a-secured-wms-layer-from-geoserver/m-p/1213683#M47953</link>
      <description>&lt;P&gt;The disadvantage of the solution mentioned above is that end-users always need to login when they want to request/see the WMS. In many occasions this is no option. I found some work-around for this: if you use SQLviews in Geoserver you can add parameters to your request. For example using a guid/projectid. In this way you can make the data freely accessible (so read/write by any roles in geoserver), but you won't see anything until you add a viewparam to your request (for example&amp;nbsp;&amp;amp;viewparams=PROJECTID:f252e0e3fe7534a47989beffe36a291d0e. You can add this as parameter to the request within the mapviewer. In this way the data is secure and still visible without having to login.&lt;/P&gt;</description>
      <pubDate>Sun, 18 Sep 2022 18:24:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/problem-adding-a-secured-wms-layer-from-geoserver/m-p/1213683#M47953</guid>
      <dc:creator>Terralytics</dc:creator>
      <dc:date>2022-09-18T18:24:16Z</dc:date>
    </item>
    <item>
      <title>Re: Problem adding a secured wms layer from Geoserver to AGOL</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/problem-adding-a-secured-wms-layer-from-geoserver/m-p/1394046#M58017</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/140358"&gt;@Terralytics&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;This sounds like it could be very helpful.&lt;/P&gt;&lt;P&gt;Do you know if the parameter can be saved with the WMS as an item in AGOL? If so, does this mean security can be handled entirely by AGOL?&lt;/P&gt;&lt;P&gt;Thanks for any help.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Mar 2024 12:43:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/problem-adding-a-secured-wms-layer-from-geoserver/m-p/1394046#M58017</guid>
      <dc:creator>PaulLohr</dc:creator>
      <dc:date>2024-03-11T12:43:36Z</dc:date>
    </item>
    <item>
      <title>Re: Problem adding a secured wms layer from Geoserver to AGOL</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/problem-adding-a-secured-wms-layer-from-geoserver/m-p/1394126#M58024</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/3290"&gt;@PaulLohr&lt;/a&gt;&amp;nbsp;, I didn't check it right now, but I would expect that you can add the parameter as part of the standard URL. I would not call it 'security handling' but more 'not able to guess the url'. It works perfectly for my situation, but if the data is more sensitive I would not go for this solution.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Mar 2024 15:11:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/problem-adding-a-secured-wms-layer-from-geoserver/m-p/1394126#M58024</guid>
      <dc:creator>Terralytics</dc:creator>
      <dc:date>2024-03-11T15:11:47Z</dc:date>
    </item>
  </channel>
</rss>

