{"action":"created","issue":{"url":"https://api.github.com/repos/unicef/sir-releases/issues/223","repository_url":"https://api.github.com/repos/unicef/sir-releases","labels_url":"https://api.github.com/repos/unicef/sir-releases/issues/223/labels{/name}","comments_url":"https://api.github.com/repos/unicef/sir-releases/issues/223/comments","events_url":"https://api.github.com/repos/unicef/sir-releases/issues/223/events","html_url":"https://github.com/unicef/sir-releases/issues/223","id":373532209,"node_id":"MDU6SXNzdWUzNzM1MzIyMDk=","number":223,"title":"Endpoints failing when not logged in on admin side also","user":{"login":"acory","id":26309191,"node_id":"MDQ6VXNlcjI2MzA5MTkx","avatar_url":"https://avatars0.githubusercontent.com/u/26309191?v=4","gravatar_id":"","url":"https://api.github.com/users/acory","html_url":"https://github.com/acory","followers_url":"https://api.github.com/users/acory/followers","following_url":"https://api.github.com/users/acory/following{/other_user}","gists_url":"https://api.github.com/users/acory/gists{/gist_id}","starred_url":"https://api.github.com/users/acory/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acory/subscriptions","organizations_url":"https://api.github.com/users/acory/orgs","repos_url":"https://api.github.com/users/acory/repos","events_url":"https://api.github.com/users/acory/events{/privacy}","received_events_url":"https://api.github.com/users/acory/received_events","type":"User","site_admin":false},"labels":[{"id":1041806367,"node_id":"MDU6TGFiZWwxMDQxODA2MzY3","url":"https://api.github.com/repos/unicef/sir-releases/labels/backend","name":"backend","color":"f9e2e2","default":false},{"id":1039596118,"node_id":"MDU6TGFiZWwxMDM5NTk2MTE4","url":"https://api.github.com/repos/unicef/sir-releases/labels/high%20priority","name":"high priority","color":"447ae5","default":false}],"state":"open","locked":false,"assignee":{"login":"reinbach","id":939993,"node_id":"MDQ6VXNlcjkzOTk5Mw==","avatar_url":"https://avatars0.githubusercontent.com/u/939993?v=4","gravatar_id":"","url":"https://api.github.com/users/reinbach","html_url":"https://github.com/reinbach","followers_url":"https://api.github.com/users/reinbach/followers","following_url":"https://api.github.com/users/reinbach/following{/other_user}","gists_url":"https://api.github.com/users/reinbach/gists{/gist_id}","starred_url":"https://api.github.com/users/reinbach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reinbach/subscriptions","organizations_url":"https://api.github.com/users/reinbach/orgs","repos_url":"https://api.github.com/users/reinbach/repos","events_url":"https://api.github.com/users/reinbach/events{/privacy}","received_events_url":"https://api.github.com/users/reinbach/received_events","type":"User","site_admin":false},"assignees":[{"login":"reinbach","id":939993,"node_id":"MDQ6VXNlcjkzOTk5Mw==","avatar_url":"https://avatars0.githubusercontent.com/u/939993?v=4","gravatar_id":"","url":"https://api.github.com/users/reinbach","html_url":"https://github.com/reinbach","followers_url":"https://api.github.com/users/reinbach/followers","following_url":"https://api.github.com/users/reinbach/following{/other_user}","gists_url":"https://api.github.com/users/reinbach/gists{/gist_id}","starred_url":"https://api.github.com/users/reinbach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reinbach/subscriptions","organizations_url":"https://api.github.com/users/reinbach/orgs","repos_url":"https://api.github.com/users/reinbach/repos","events_url":"https://api.github.com/users/reinbach/events{/privacy}","received_events_url":"https://api.github.com/users/reinbach/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/unicef/sir-releases/milestones/1","html_url":"https://github.com/unicef/sir-releases/milestone/1","labels_url":"https://api.github.com/repos/unicef/sir-releases/milestones/1/labels","id":3778449,"node_id":"MDk6TWlsZXN0b25lMzc3ODQ0OQ==","number":1,"title":"Beta Version for Pilot","description":"Cards related to a beta version of SIR to be used in in-field piloting","creator":{"login":"drzackyll","id":8411545,"node_id":"MDQ6VXNlcjg0MTE1NDU=","avatar_url":"https://avatars0.githubusercontent.com/u/8411545?v=4","gravatar_id":"","url":"https://api.github.com/users/drzackyll","html_url":"https://github.com/drzackyll","followers_url":"https://api.github.com/users/drzackyll/followers","following_url":"https://api.github.com/users/drzackyll/following{/other_user}","gists_url":"https://api.github.com/users/drzackyll/gists{/gist_id}","starred_url":"https://api.github.com/users/drzackyll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drzackyll/subscriptions","organizations_url":"https://api.github.com/users/drzackyll/orgs","repos_url":"https://api.github.com/users/drzackyll/repos","events_url":"https://api.github.com/users/drzackyll/events{/privacy}","received_events_url":"https://api.github.com/users/drzackyll/received_events","type":"User","site_admin":false},"open_issues":32,"closed_issues":3,"state":"open","created_at":"2018-10-29T18:51:13Z","updated_at":"2018-10-31T18:39:07Z","due_on":"2018-11-30T08:00:00Z","closed_at":null},"comments":3,"created_at":"2018-10-24T15:06:40Z","updated_at":"2018-11-02T12:41:17Z","closed_at":null,"author_association":"COLLABORATOR","body":"Log in to admin /login\r\nLog in with Azure \r\nGo to incidents list , notice there are incidents\r\nGo to admin side and Logout \r\nCome back to incidents list, Refresh\r\n\r\nIssue:\r\n Incidents list is empty, the  endpoint /api/incidents/ returns an empty array despite having the required credentials sent, the JWT is there\r\nAnd http://localhost:8081/api/comments/ returns 403"},"comment":{"url":"https://api.github.com/repos/unicef/sir-releases/issues/comments/435365324","html_url":"https://github.com/unicef/sir-releases/issues/223#issuecomment-435365324","issue_url":"https://api.github.com/repos/unicef/sir-releases/issues/223","id":435365324,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNTM2NTMyNA==","user":{"login":"daniel-tabarcea","id":17467562,"node_id":"MDQ6VXNlcjE3NDY3NTYy","avatar_url":"https://avatars3.githubusercontent.com/u/17467562?v=4","gravatar_id":"","url":"https://api.github.com/users/daniel-tabarcea","html_url":"https://github.com/daniel-tabarcea","followers_url":"https://api.github.com/users/daniel-tabarcea/followers","following_url":"https://api.github.com/users/daniel-tabarcea/following{/other_user}","gists_url":"https://api.github.com/users/daniel-tabarcea/gists{/gist_id}","starred_url":"https://api.github.com/users/daniel-tabarcea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daniel-tabarcea/subscriptions","organizations_url":"https://api.github.com/users/daniel-tabarcea/orgs","repos_url":"https://api.github.com/users/daniel-tabarcea/repos","events_url":"https://api.github.com/users/daniel-tabarcea/events{/privacy}","received_events_url":"https://api.github.com/users/daniel-tabarcea/received_events","type":"User","site_admin":false},"created_at":"2018-11-02T12:41:17Z","updated_at":"2018-11-02T12:41:17Z","author_association":"COLLABORATOR","body":"As an update, now every request fails with 403 if i'm not logged in to the admin side"}}
{"actor":{"display_login":"daniel-tabarcea"}}