laptop and a wrench

Bug

The ArcGIS Maps SDK for JavaScript 4.31 application prompts the user for credentials when the portal.authMode property is set to anonymous when loading a secured Vector Tile Layer service from Portal for ArcGIS.

ArcGIS Maps SDK for JavaScript
Bug ID Number BUG-000173522
SubmittedJanuary 10, 2025
Last ModifiedMay 21, 2025
Applies toArcGIS Maps SDK for JavaScript
Version found4.31
Operating SystemWindows OS
Operating System Version10.0 64 Bit
Version Fixed4.32
StatusFixed

Workaround

To add a secured vector tile layer to the map view, first add it to a web map, and then load the web map to the ArcGIS Maps SDK for JavaScript application. This will respect the authMode property set to 'anonymous' and will not prompt for user credentials.

Steps to Reproduce

Bug ID: BUG-000173522

Software:

  • ArcGIS Maps SDK for JavaScript

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options