{"action":"created","issue":{"url":"https://api.github.com/repos/davglass/zoneminder-api/issues/1","repository_url":"https://api.github.com/repos/davglass/zoneminder-api","labels_url":"https://api.github.com/repos/davglass/zoneminder-api/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/davglass/zoneminder-api/issues/1/comments","events_url":"https://api.github.com/repos/davglass/zoneminder-api/issues/1/events","html_url":"https://github.com/davglass/zoneminder-api/issues/1","id":305769788,"number":1,"title":"Doesn't seem to work for me with auth","user":{"login":"jacobalberty","id":1980034,"avatar_url":"https://avatars3.githubusercontent.com/u/1980034?v=4","gravatar_id":"","url":"https://api.github.com/users/jacobalberty","html_url":"https://github.com/jacobalberty","followers_url":"https://api.github.com/users/jacobalberty/followers","following_url":"https://api.github.com/users/jacobalberty/following{/other_user}","gists_url":"https://api.github.com/users/jacobalberty/gists{/gist_id}","starred_url":"https://api.github.com/users/jacobalberty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacobalberty/subscriptions","organizations_url":"https://api.github.com/users/jacobalberty/orgs","repos_url":"https://api.github.com/users/jacobalberty/repos","events_url":"https://api.github.com/users/jacobalberty/events{/privacy}","received_events_url":"https://api.github.com/users/jacobalberty/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-03-16T01:05:41Z","updated_at":"2018-03-17T02:46:42Z","closed_at":null,"author_association":"NONE","body":"I tried using this with a zm server with authentication enabled and it kept giving me 401 errors. On digging around it seems the ZMSESSID cookie gets sent twice and you should only return the latest, either need to add some dedup logic to the cookies or use a different request module that handles cookies on its own."},"comment":{"url":"https://api.github.com/repos/davglass/zoneminder-api/issues/comments/373888905","html_url":"https://github.com/davglass/zoneminder-api/issues/1#issuecomment-373888905","issue_url":"https://api.github.com/repos/davglass/zoneminder-api/issues/1","id":373888905,"user":{"login":"jacobalberty","id":1980034,"avatar_url":"https://avatars3.githubusercontent.com/u/1980034?v=4","gravatar_id":"","url":"https://api.github.com/users/jacobalberty","html_url":"https://github.com/jacobalberty","followers_url":"https://api.github.com/users/jacobalberty/followers","following_url":"https://api.github.com/users/jacobalberty/following{/other_user}","gists_url":"https://api.github.com/users/jacobalberty/gists{/gist_id}","starred_url":"https://api.github.com/users/jacobalberty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacobalberty/subscriptions","organizations_url":"https://api.github.com/users/jacobalberty/orgs","repos_url":"https://api.github.com/users/jacobalberty/repos","events_url":"https://api.github.com/users/jacobalberty/events{/privacy}","received_events_url":"https://api.github.com/users/jacobalberty/received_events","type":"User","site_admin":false},"created_at":"2018-03-17T02:46:42Z","updated_at":"2018-03-17T02:46:42Z","author_association":"NONE","body":"I have no idea why it is behaving like that, in theory you should get two different zmsessid's, thats normal. One pre login and one after login, in the web browser the login form only gives one zmsessid when i access it and a second when i submit, but i cant get it to give me  two on the same request so no idea?\r\n\r\nOpening PR shortly, dunno for sure if its ideal, but it definitely assures cookies don't get duplicated "}}
{"actor":{"display_login":"jacobalberty"}}