Hi,
I have generated token using my ArcGIS online credentials as provided below
When I try to access my webmap iam not able to access using the generated token. Kindly let me know what is the procedure to access my webmap using JavaScript API.
Thanks
Naveen
After getting the token, you will need to register the token using the following function: https://developers.arcgis.com/javascript/latest/api-reference/esri-identity-IdentityManager.html#reg...
That should allow you to access secured resources.