I'm experiencing an issue when adding a secured WMS layer from GeoServer to ArcGIS Online. The layer is added successfully, but ArcGIS Online does not prompt for credentials (username and password), and I cannot store the credentials. This prevents me from viewing the layer because it requires authentication.
I have configured GeoServer's Catalog Mode to "CHALLENGE," which prompts for credentials when accessing the layer directly via a browser. However, when adding the layer to ArcGIS Online, it bypasses this step and adds the layer without asking for credentials, making it impossible to view the layer.
For example, the WMS layer URL looks like this:
Has anyone encountered a similar issue or found a solution to properly prompt for and store credentials in ArcGIS Online for secured GeoServer layers? Any help or suggestions would be greatly appreciated!
Hi @EmrahAydemir, thank you for posting the question. What type of authentication is configured on the GeoServer site?
If the site is configured with web-tier authentication, have you tried adding it as a Trusted server under Organization Settings? To add a trusted server, navigate to the ArcGIS Online Organization page >> Settings >> Security.
Secure OGC services: https://doc.arcgis.com/en/arcgis-online/reference/ogc.htm#ESRI_SECTION1_136F31FA3EFC4B0A875D4E590CE5...
Trusted servers: https://doc.arcgis.com/en/arcgis-online/administer/configure-security.htm#ESRI_SECTION1_70CC159B3540...
Hope this helps!