AnsweredAssumed Answered

JS API - Login with app credentials (don't ask user to login)

Question asked by jimmyrose on Oct 11, 2015

I've created a map in ArcGIS online and am loading it with

 

arcgisUtils.createMap

 

This of course asks for the user to sign in with a popup. For now, I've just got a token from the developer portal so I can prove this works. So using

 

IdentityManager.registerToken()

 

But it doesn't seem to like it. Can you point me in the right direction of how I would accomplish this? I know I shouldn't be using credentials in JS and set up a proxy, but I'd like to get it going with the smallest number of components first just to make sure it works

Outcomes