Hello,
I have been developing a mobile application that is utilizing some secured services from ArcGIS.com. I have been able to access them pretty easily using app login described in this link.
https://developers.arcgis.com/javascript/jshelp/tutorial_sharing_maps_secure_layers.html
However I noticed that although the layers authenticate and display on the map properly the attachment links within the standard popup window open another tab and then display a token required page rather than the image or attachment. At this point I am unsure exactly how to proceed. I imagine I would need to somehow append a token to the attachment url which is easy enough however I am unsure of how to properly obtain the token or if that is even how to do it the right way. Any help would be appreciated.
Thanks,
Isaiah Aguilera