I have a curious issue with the Esri basemaps in my Enterprise web apps in 10.8.1. When I add a basemap switcher widget, I only see a selection of the Esri basemaps. Everywhere else (web maps, dashboards, etc) I see this in the basemap gallery:
In web app builder, I see this in the basemap widget:
I'm not sure what's going on with those duplicates, either. Anyway, when I look at the developer console in my browser, I get the error :
XMLHttpRequest at 'https://services.arcgisonline.com/arcgis/rest/services/Elevation/World_Hillshade/MapServer?f=json' from origin 'https://myserver.mydomain.com' has been blocked by CORS policy: The value of the 'Access-Control-Allow-Origin' header in the response must not be the wildcard '*' when the request's credentials mode is 'include'. The credentials mode of requests initiated by the XMLHttpRequest is controlled by the withCredentials attribute..
The only thing I could find to resolve this was changing settings in Server Admin per this page:
https://enterprise.arcgis.com/en/server/latest/administer/linux/restricting-cross-domain-requests-to...
but that did not resolve it. I also find it curious that it's only an issue for WebAppBuilder. Has anyone else encountered this problem? And did you find a solution?