{"action":"closed","issue":{"url":"https://api.github.com/repos/gigsterous/api/issues/66","repository_url":"https://api.github.com/repos/gigsterous/api","labels_url":"https://api.github.com/repos/gigsterous/api/issues/66/labels{/name}","comments_url":"https://api.github.com/repos/gigsterous/api/issues/66/comments","events_url":"https://api.github.com/repos/gigsterous/api/issues/66/events","html_url":"https://github.com/gigsterous/api/issues/66","id":189091851,"number":66,"title":"Resources in API can be accessed without valid authentication token","user":{"login":"Smedzlatko","id":6072828,"avatar_url":"https://avatars.githubusercontent.com/u/6072828?v=3","gravatar_id":"","url":"https://api.github.com/users/Smedzlatko","html_url":"https://github.com/Smedzlatko","followers_url":"https://api.github.com/users/Smedzlatko/followers","following_url":"https://api.github.com/users/Smedzlatko/following{/other_user}","gists_url":"https://api.github.com/users/Smedzlatko/gists{/gist_id}","starred_url":"https://api.github.com/users/Smedzlatko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Smedzlatko/subscriptions","organizations_url":"https://api.github.com/users/Smedzlatko/orgs","repos_url":"https://api.github.com/users/Smedzlatko/repos","events_url":"https://api.github.com/users/Smedzlatko/events{/privacy}","received_events_url":"https://api.github.com/users/Smedzlatko/received_events","type":"User","site_admin":false},"labels":[{"id":400414251,"url":"https://api.github.com/repos/gigsterous/api/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"closed","locked":false,"assignee":{"login":"Smedzlatko","id":6072828,"avatar_url":"https://avatars.githubusercontent.com/u/6072828?v=3","gravatar_id":"","url":"https://api.github.com/users/Smedzlatko","html_url":"https://github.com/Smedzlatko","followers_url":"https://api.github.com/users/Smedzlatko/followers","following_url":"https://api.github.com/users/Smedzlatko/following{/other_user}","gists_url":"https://api.github.com/users/Smedzlatko/gists{/gist_id}","starred_url":"https://api.github.com/users/Smedzlatko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Smedzlatko/subscriptions","organizations_url":"https://api.github.com/users/Smedzlatko/orgs","repos_url":"https://api.github.com/users/Smedzlatko/repos","events_url":"https://api.github.com/users/Smedzlatko/events{/privacy}","received_events_url":"https://api.github.com/users/Smedzlatko/received_events","type":"User","site_admin":false},"assignees":[{"login":"Smedzlatko","id":6072828,"avatar_url":"https://avatars.githubusercontent.com/u/6072828?v=3","gravatar_id":"","url":"https://api.github.com/users/Smedzlatko","html_url":"https://github.com/Smedzlatko","followers_url":"https://api.github.com/users/Smedzlatko/followers","following_url":"https://api.github.com/users/Smedzlatko/following{/other_user}","gists_url":"https://api.github.com/users/Smedzlatko/gists{/gist_id}","starred_url":"https://api.github.com/users/Smedzlatko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Smedzlatko/subscriptions","organizations_url":"https://api.github.com/users/Smedzlatko/orgs","repos_url":"https://api.github.com/users/Smedzlatko/repos","events_url":"https://api.github.com/users/Smedzlatko/events{/privacy}","received_events_url":"https://api.github.com/users/Smedzlatko/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/gigsterous/api/milestones/1","html_url":"https://github.com/gigsterous/api/milestones/Alpha","labels_url":"https://api.github.com/repos/gigsterous/api/milestones/1/labels","id":1857336,"number":1,"title":"Alpha","description":"Alpha version of the Gigsterous API","creator":{"login":"Smedzlatko","id":6072828,"avatar_url":"https://avatars.githubusercontent.com/u/6072828?v=3","gravatar_id":"","url":"https://api.github.com/users/Smedzlatko","html_url":"https://github.com/Smedzlatko","followers_url":"https://api.github.com/users/Smedzlatko/followers","following_url":"https://api.github.com/users/Smedzlatko/following{/other_user}","gists_url":"https://api.github.com/users/Smedzlatko/gists{/gist_id}","starred_url":"https://api.github.com/users/Smedzlatko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Smedzlatko/subscriptions","organizations_url":"https://api.github.com/users/Smedzlatko/orgs","repos_url":"https://api.github.com/users/Smedzlatko/repos","events_url":"https://api.github.com/users/Smedzlatko/events{/privacy}","received_events_url":"https://api.github.com/users/Smedzlatko/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":41,"state":"open","created_at":"2016-06-30T13:05:54Z","updated_at":"2016-11-14T18:26:26Z","due_on":"2016-11-30T00:00:00Z","closed_at":null},"comments":0,"created_at":"2016-11-14T11:42:03Z","updated_at":"2016-11-14T18:26:26Z","closed_at":"2016-11-14T18:26:26Z","body":"Resources in the API server can be currently accessed without valid authentication token. ResourceServerConfig needs to be updated to prevent this behavior (it was probably caused by permitting certain endpoints to be unprotected and not setting the authorization on the rest of them).\r\n\r\nSomething along these lines should fix it:\r\n\r\n```\r\nttp.antMatcher(\"/**\")\t.authorizeRequests().anyRequest().authenticated();\r\n```"}}
{"actor":{"display_login":"Smedzlatko"}}