{"action":"created","issue":{"url":"https://api.github.com/repos/educacaoitajai/erudio/issues/13","repository_url":"https://api.github.com/repos/educacaoitajai/erudio","labels_url":"https://api.github.com/repos/educacaoitajai/erudio/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/educacaoitajai/erudio/issues/13/comments","events_url":"https://api.github.com/repos/educacaoitajai/erudio/issues/13/events","html_url":"https://github.com/educacaoitajai/erudio/issues/13","id":301507801,"number":13,"title":"Intranet","user":{"login":"JDias","id":1019459,"avatar_url":"https://avatars2.githubusercontent.com/u/1019459?v=4","gravatar_id":"","url":"https://api.github.com/users/JDias","html_url":"https://github.com/JDias","followers_url":"https://api.github.com/users/JDias/followers","following_url":"https://api.github.com/users/JDias/following{/other_user}","gists_url":"https://api.github.com/users/JDias/gists{/gist_id}","starred_url":"https://api.github.com/users/JDias/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JDias/subscriptions","organizations_url":"https://api.github.com/users/JDias/orgs","repos_url":"https://api.github.com/users/JDias/repos","events_url":"https://api.github.com/users/JDias/events{/privacy}","received_events_url":"https://api.github.com/users/JDias/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-01T18:18:30Z","updated_at":"2018-03-01T23:25:20Z","closed_at":"2018-03-01T23:25:20Z","author_association":"NONE","body":"ao tentar acessar a intranet o token retorna unauthorized\r\n\r\n(a requisição está sem header)\r\n\r\nvou deixar esse link aqui para minha referência (a parte de permissões é gerenciada pelo angularjs? é alguma biblioteca especifica?) \r\n\r\nhttps://github.com/educacaoitajai/erudio/blob/master/erudio-front/app/modules/login/controllers/loginController.js"},"comment":{"url":"https://api.github.com/repos/educacaoitajai/erudio/issues/comments/369767130","html_url":"https://github.com/educacaoitajai/erudio/issues/13#issuecomment-369767130","issue_url":"https://api.github.com/repos/educacaoitajai/erudio/issues/13","id":369767130,"user":{"login":"JDias","id":1019459,"avatar_url":"https://avatars2.githubusercontent.com/u/1019459?v=4","gravatar_id":"","url":"https://api.github.com/users/JDias","html_url":"https://github.com/JDias","followers_url":"https://api.github.com/users/JDias/followers","following_url":"https://api.github.com/users/JDias/following{/other_user}","gists_url":"https://api.github.com/users/JDias/gists{/gist_id}","starred_url":"https://api.github.com/users/JDias/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JDias/subscriptions","organizations_url":"https://api.github.com/users/JDias/orgs","repos_url":"https://api.github.com/users/JDias/repos","events_url":"https://api.github.com/users/JDias/events{/privacy}","received_events_url":"https://api.github.com/users/JDias/received_events","type":"User","site_admin":false},"created_at":"2018-03-01T23:25:20Z","updated_at":"2018-03-01T23:25:20Z","author_association":"NONE","body":"Pelo visto vou ter que aprender angular :)\r\n\r\nhttps://medium.com/@ryanchenkie_40935/angular-authentication-using-route-guards-bf7a4ca13ae3\r\n\r\nhttps://medium.com/@ryanchenkie_40935/angular-authentication-using-the-http-client-and-http-interceptors-2f9d1540eb8\r\n\r\nhttps://thinkster.io/tutorials/angularjs-jwt-auth\r\n\r\n:)\r\n\r\n"}}
{"actor":{"display_login":"JDias"}}