Adding a secured WMS from GeoServer to AGOL

02-12-2019 03:18 PM
Occasional Contributor

I have a secured service set up on my organization's GeoServer. I now want to add it to AGOL. My communitity's administrator has gone through the steps to add my domain to the 'list of trusted servers' in AGOL. However, when I log into my organization's AGOL community and 'Add Item' > 'From the Web' > 'WMS (OGC)' and paste in my WMS endpoint: 


...I get the message:


Service " does not exist or is inaccessible.

From the below-linked article, I understand that I'm supposed to be prompted for credentials at this point?

I'm not seeing anything in my GeoServer logs.

Can anyone offer any advice or maybe a good tutorial for exactly how to set things up?

I've already read:

OGC—ArcGIS Online Help | ArcGIS 


Configure security settings—ArcGIS Online Help | ArcGIS 

0 Kudos
2 Replies
Esri Regular Contributor

Hi Donald,

In your ArcGIS Online organization's settings, go the Security tab and add the domain for the geoserver to your organization's trusted servers list:

Once you've done that, you should see the prompt to sign in. I added the domain to my organization and confirmed the sign in shows:



Occasional Contributor

It wasn't prompting me for credentials because my system admin added our domain as 'http', instead of 'https'.

Then it it still wasn't working because of a CORS error that we needed to resolve on our end. What a pain.

0 Kudos