{"action":"opened","issue":{"url":"https://api.github.com/repos/Esri/ArcREST/issues/48","labels_url":"https://api.github.com/repos/Esri/ArcREST/issues/48/labels{/name}","comments_url":"https://api.github.com/repos/Esri/ArcREST/issues/48/comments","events_url":"https://api.github.com/repos/Esri/ArcREST/issues/48/events","html_url":"https://github.com/Esri/ArcREST/issues/48","id":69245088,"number":48,"title":"OAuth2 for Layer in ArcMap","user":{"login":"DShokes","id":3903212,"avatar_url":"https://avatars.githubusercontent.com/u/3903212?v=3","gravatar_id":"","url":"https://api.github.com/users/DShokes","html_url":"https://github.com/DShokes","followers_url":"https://api.github.com/users/DShokes/followers","following_url":"https://api.github.com/users/DShokes/following{/other_user}","gists_url":"https://api.github.com/users/DShokes/gists{/gist_id}","starred_url":"https://api.github.com/users/DShokes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DShokes/subscriptions","organizations_url":"https://api.github.com/users/DShokes/orgs","repos_url":"https://api.github.com/users/DShokes/repos","events_url":"https://api.github.com/users/DShokes/events{/privacy}","received_events_url":"https://api.github.com/users/DShokes/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-18T00:20:03Z","updated_at":"2015-04-18T00:20:03Z","closed_at":null,"body":"Is there an example of how to pass signin credentials for arcmap?\r\nMy script makes pdf export from feature services in an mxd. Currently, I must manually sign in on the arcmap credentials popup and keep an instance of ArcMap open. Otherwise, my script fails. I'm currently using AGOLSecurityHandler for other purposes but I'm not sure where to put OAuthSecurityHandler when opening an mxd."}}