{"action":"closed","issue":{"url":"https://api.github.com/repos/VadimDez/ng2-pdf-viewer/issues/10","repository_url":"https://api.github.com/repos/VadimDez/ng2-pdf-viewer","labels_url":"https://api.github.com/repos/VadimDez/ng2-pdf-viewer/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/VadimDez/ng2-pdf-viewer/issues/10/comments","events_url":"https://api.github.com/repos/VadimDez/ng2-pdf-viewer/issues/10/events","html_url":"https://github.com/VadimDez/ng2-pdf-viewer/issues/10","id":174396533,"number":10,"title":"Need to Pass cookies with request for document src","user":{"login":"EricBPower","id":11164532,"avatar_url":"https://avatars.githubusercontent.com/u/11164532?v=3","gravatar_id":"","url":"https://api.github.com/users/EricBPower","html_url":"https://github.com/EricBPower","followers_url":"https://api.github.com/users/EricBPower/followers","following_url":"https://api.github.com/users/EricBPower/following{/other_user}","gists_url":"https://api.github.com/users/EricBPower/gists{/gist_id}","starred_url":"https://api.github.com/users/EricBPower/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EricBPower/subscriptions","organizations_url":"https://api.github.com/users/EricBPower/orgs","repos_url":"https://api.github.com/users/EricBPower/repos","events_url":"https://api.github.com/users/EricBPower/events{/privacy}","received_events_url":"https://api.github.com/users/EricBPower/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"VadimDez","id":3748453,"avatar_url":"https://avatars.githubusercontent.com/u/3748453?v=3","gravatar_id":"","url":"https://api.github.com/users/VadimDez","html_url":"https://github.com/VadimDez","followers_url":"https://api.github.com/users/VadimDez/followers","following_url":"https://api.github.com/users/VadimDez/following{/other_user}","gists_url":"https://api.github.com/users/VadimDez/gists{/gist_id}","starred_url":"https://api.github.com/users/VadimDez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VadimDez/subscriptions","organizations_url":"https://api.github.com/users/VadimDez/orgs","repos_url":"https://api.github.com/users/VadimDez/repos","events_url":"https://api.github.com/users/VadimDez/events{/privacy}","received_events_url":"https://api.github.com/users/VadimDez/received_events","type":"User","site_admin":false},"assignees":[{"login":"VadimDez","id":3748453,"avatar_url":"https://avatars.githubusercontent.com/u/3748453?v=3","gravatar_id":"","url":"https://api.github.com/users/VadimDez","html_url":"https://github.com/VadimDez","followers_url":"https://api.github.com/users/VadimDez/followers","following_url":"https://api.github.com/users/VadimDez/following{/other_user}","gists_url":"https://api.github.com/users/VadimDez/gists{/gist_id}","starred_url":"https://api.github.com/users/VadimDez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VadimDez/subscriptions","organizations_url":"https://api.github.com/users/VadimDez/orgs","repos_url":"https://api.github.com/users/VadimDez/repos","events_url":"https://api.github.com/users/VadimDez/events{/privacy}","received_events_url":"https://api.github.com/users/VadimDez/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/VadimDez/ng2-pdf-viewer/milestones/6","html_url":"https://github.com/VadimDez/ng2-pdf-viewer/milestones/0.0.11","labels_url":"https://api.github.com/repos/VadimDez/ng2-pdf-viewer/milestones/6/labels","id":1981674,"number":6,"title":"0.0.11","description":"","creator":{"login":"VadimDez","id":3748453,"avatar_url":"https://avatars.githubusercontent.com/u/3748453?v=3","gravatar_id":"","url":"https://api.github.com/users/VadimDez","html_url":"https://github.com/VadimDez","followers_url":"https://api.github.com/users/VadimDez/followers","following_url":"https://api.github.com/users/VadimDez/following{/other_user}","gists_url":"https://api.github.com/users/VadimDez/gists{/gist_id}","starred_url":"https://api.github.com/users/VadimDez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VadimDez/subscriptions","organizations_url":"https://api.github.com/users/VadimDez/orgs","repos_url":"https://api.github.com/users/VadimDez/repos","events_url":"https://api.github.com/users/VadimDez/events{/privacy}","received_events_url":"https://api.github.com/users/VadimDez/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":1,"state":"open","created_at":"2016-09-03T17:39:38Z","updated_at":"2016-09-05T11:17:10Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2016-08-31T22:42:12Z","updated_at":"2016-09-05T11:17:10Z","closed_at":"2016-09-05T11:17:10Z","body":"We have an authentication cookie that our API requires before returning a PDF response.\r\nWhen trying to use our url in the src attribute the pdf viewer fails because it gets a 401 status code from the url.  How can we send the current cookies with the request for the pdf?\r\n\r\nIn an object data attribute the cookies are automatically sent.\r\nIn http.get there is a withCredentials attribute that can be sent as true.\r\nBut what is the correct way to send cookies using pdf viewer?"}}
{"actor":{"display_login":"VadimDez"}}