Hi,
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,
Andy