When you open the JavaScript API sample [Visualize features by type] (https://developers.arcgis.com/javascript/latest/sample-code/visualization-location-types/) under Current version: 4.34 (October 2025), the map prompts you for a login. Is there a sample layer that is supposed to be public but now protected?
Thank you.