Why am I suddenly receiving a sign-in prompt when using ArcGIS for Javascript?

301
4
12-15-2016 10:57 AM
JonCrane
New Contributor

Hopefully this is an easy one. My company is doing some development on ArcGIS for Javascript to pilot an internal project (not productizing this or anything... yet. this is still in dev).

I've been using the service without an issue up until now, when I am receiving a sign-in prompt when trying to view my map.

Here are the features of ArcGIS I am including in my map:

"esri/Map",
"esri/views/MapView",
"esri/widgets/Search",
"esri/layers/GraphicsLayer",
"esri/widgets/Locate",

"esri/PopupTemplate",
"esri/Graphic",
"esri/geometry/Point",
"esri/symbols/SimpleMarkerSymbol",
"dojo/domReady!"

Are any of these now requiring a license to use? 

0 Kudos
4 Replies
RobertScheitlin__GISP
MVP Esteemed Contributor

Jon,

   No, the main likely reason is that someone has changed the shared status of the webmap or the service layer(s) you are using in the app. But without seeing more of your code it is hard to say.

0 Kudos
JonCrane
New Contributor

Thanks! No one on my end has touched this code, which is freaking me out.  My use case is that I am integrating ArcGIS with ServiceNow. I have a pretty good audit trail of my code and no one has changed it in about a month.

Where is the shared status of the webmap managed? I am not too versed with ArcGIS - just enough to get this map off the ground.

Thanks again... 

0 Kudos
RobertScheitlin__GISP
MVP Esteemed Contributor

Jon,

   What I am talking about has nothing to do with your JS code. The shared status of the web map has to do with your AGOL account. Without knowing if your code is using a web map or you are just adding layers to the view make this difficult to answer.

0 Kudos
RebeccaStrauch__GISP
MVP Esteemed Contributor

...or there was a token that was created for x days/time for a secure services, and it expired.  Or the password that may have created a token on-the-fly expired/changed. Just some other possibilities.

0 Kudos