I'm using javascript api to access some secure map and GP services, but am having a lot of problems with tokens. Using IdentityManager to generate tokens is working fine, and I can store them off… Show more

I think maybe you misunderstood my suggestion. In your JSAPI application, you can append the token to the MapService URL, and the JSAPI will send it along: …