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:
https://geoserver.example.com/geoserver/example_workspace/wms?service=WMS&version=1.1.0&request=GetMap&layers=example_workspace%3Aexample_layer
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!