Hi and thank you in advance for any help you can offer. I just tried to replicate a web app I created 6 months ago with different data and every time I get a login window. I checked to see if any layers or files were not shared publically, checked the security setting to allow anonymous access, and I even tried to create a web app using only an ESRI base map and it still asked for login. This leads me to believe that the layers are not the problem. This is the link to the web app: https://martin-salmon.maps.arcgis.com/apps/StoryMapBasic/index.html?appid=53adf2dbd72f4e58b5ccff3eab...
The 6-month-old web app is still working. Could it be that the 2021 update to AGOL is creating this problem?
many thanks for your help.
Martin
Solved! Go to Solution.
I figured it out. The web map automatically selects the show developer base maps options w¿hich creates the problem. once you turn it off and save the problem goes away.
Watching the network traffic when this app loads, I can see the various requests being made right up until the sign-in prompt shows up. Testing them individually, I can see that the following request is giving a problem:
https://basemaps-api.arcgis.com/arcgis/rest/services/OpenStreetMap_v2/VectorTileServer?f=json
When I browse to this URL, I see the following:
{"error":{"code":499,"message":"Token Required.","details":[]}}
The next request made is to:
https://basemaps-api.arcgis.com/arcgis/rest/info?f=json
And then finally to:
https://martin-salmon.maps.arcgis.com/sharing/rest/oauth2/platformSelf
Browsing to either of the latter two don't give my any useful information. I'm out on a limb here, but I think there's some authorization problem with the OSM vector basemap, and it's trying to retrieve a token through your AGOL org?
I'd go into your basemaps group and make sure the maps and layers in your basemaps are all shared publicly. Alternatively, try changing the basemap on this particular map and see if it still gives you the same problem.
thanks, Josh. I tried Open Street Map and ESRI base maps and the result is the same for both. I´ll check the base maps to see if that solves the problem.
Many thanks.
I figured it out. The web map automatically selects the show developer base maps options w¿hich creates the problem. once you turn it off and save the problem goes away.
I have been struggling with this myself for a number of projects and couldn't seem to suss out an answer on the docs. Thanks for this solution.
How did you turn this off? Like above I am watching my traffic and I seem to be having issues with a world basemapv2.
I put my link below but I am messing with it so much right now things may be up and down with it.
https://storymaps.arcgis.com/stories/0238c0162f8d44259c80c5f7200a4116
Struggling with the same issue - it's the same basemap we use on all public facing maps/apps. Wondering if creating this map in the new Map Viewer may have enabled this 'developer basemaps' option you're speaking of. How do you go about disabling that option? Thanks so much!
Where do you turn the "developer base maps option" off?
Thanks
Were you able to figure out how to turn it off? I have the same issue and can't find that option.
Thanks
Hi I'm also having the same issue has anyone worked out where you turn off this 'show developer base maps options'? Thanks!