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

2185
0
10-11-2015 06:26 PM
JamesRose3
New Contributor

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

0 Kudos
0 Replies