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:
https://www.sciencebase.gov/geoserver/amscm/wms
or:
https://www.sciencebase.gov/geoserver/amscm/wms?service=wms&request=getcapabilities
...I get the message:
Error
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
and
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:
Cheers,
Chris
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.