AnsweredAssumed Answered

Accessing secure AGOL webmaps

Question asked by AndyNorrisE14 on Sep 19, 2013
Latest reply on Sep 23, 2013 by jacobsj

I've read quite a lot on this subject, but seem to have little success in making it work.

Basically I'm trying to write a simple JavaScript application that automatically loads a secure AGOL webmap.
I want to hardcode the credentials into the application so the user doesn't have to login, as users have to login to where the app will be stored anyway. 

I can't find any sample code that does this, and being a JavaScript beginner I'm going around in circles looking at the various posts on OAuth, identity manager and proxy's. 

If anyone has any examples or ideas that they can share, I would be eternally grateful!

Many Thanks,