Select to view content in your preferred language

Public web map prompting for credentials in iOS

121
5
Friday
Labels (1)
SarahBarks
Occasional Contributor

Hello! I have a web map which works as it should in desktop browsers, but is prompting for credentials in a mobile app for iOS and Android. Everything is shared publicly, although some layers are secured using this process, as recommended by Esri.
How To: Limit Access to Secured Hosted Services or Map Services in ArcGIS Online for Publi

Can anyone please recommend how I can resolve this? Sharing the data without securing it using the above link is not an option sadly.

This is the map (which should work perfectly in your browser!) https://kingfisherbulletin.org/notice-map 

Thank you!

Sarah

 

0 Kudos
5 Replies
MobiusSnake
MVP Regular Contributor

I tested on Android (Chrome and Brave browsers) and didn't get any pop-ups for credentials.

0 Kudos
SarahBarks
Occasional Contributor

On Android it seems to not prompt but just doesn't display some layers. Our developer thinks it may just be "hiding" the credentials box but is still erroring, whereas iOS does display the sign in box. Thanks so much for testing and replying!

0 Kudos
LeeButler
Esri Contributor

I've had a look on a desktop browser (edge) and iOS (chrome) and both loaded the site without prompting for credentials.  I did have a look in the Edge browser developer tools and this layer is showing as an issue when I toggle dark mode on which might be causing the credential prompt you are seeing:

[esri.layers.FeatureLayer] Failed to load layer (Subsea Points view - Subsea Points, 17f68eb2985-layer-14) portal item (2371ad15ace84d5b90adde5ff837de7d)
[request:server]: Item does not exist or is inaccessible.

0 Kudos
SarahBarks
Occasional Contributor

Thanks so much-it is the "public" yet "secure" layers that are problematic and there are a few. I just have no idea what else to try to get around this as everything I've read so far hasn't worked 😭

0 Kudos
SarahBarks
Occasional Contributor

UPDATE- just in case any other kind folk are testing. For now, I've removed the layers as we need people to be able to access the rest of the map (the secured layers are "background" infrastructure) so any testing now will not error/produce any results. I'm hopeful there is some wizardry that is possible to allow me to add them back on!

Thanks so much.

0 Kudos