{"action":"created","issue":{"url":"https://api.github.com/repos/michaelb-01/pipe-mean/issues/20","repository_url":"https://api.github.com/repos/michaelb-01/pipe-mean","labels_url":"https://api.github.com/repos/michaelb-01/pipe-mean/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/michaelb-01/pipe-mean/issues/20/comments","events_url":"https://api.github.com/repos/michaelb-01/pipe-mean/issues/20/events","html_url":"https://github.com/michaelb-01/pipe-mean/issues/20","id":320577718,"number":20,"title":"Authentication","user":{"login":"michaelb-01","id":3755633,"avatar_url":"https://avatars0.githubusercontent.com/u/3755633?v=4","gravatar_id":"","url":"https://api.github.com/users/michaelb-01","html_url":"https://github.com/michaelb-01","followers_url":"https://api.github.com/users/michaelb-01/followers","following_url":"https://api.github.com/users/michaelb-01/following{/other_user}","gists_url":"https://api.github.com/users/michaelb-01/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelb-01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelb-01/subscriptions","organizations_url":"https://api.github.com/users/michaelb-01/orgs","repos_url":"https://api.github.com/users/michaelb-01/repos","events_url":"https://api.github.com/users/michaelb-01/events{/privacy}","received_events_url":"https://api.github.com/users/michaelb-01/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-06T09:41:21Z","updated_at":"2018-05-06T09:47:04Z","closed_at":null,"author_association":"OWNER","body":"- Components call functions from auth.service (register, login, etc)\r\n- auth.service performs an http request to the users route (server/routes/users)\r\n- user model (server/models/user) contains database functions and performs password encryption\r\n\r\n**Client-side Authentication**\r\n- DOM elements are only rendered to those with correct permissions (using ngIf)"},"comment":{"url":"https://api.github.com/repos/michaelb-01/pipe-mean/issues/comments/386867203","html_url":"https://github.com/michaelb-01/pipe-mean/issues/20#issuecomment-386867203","issue_url":"https://api.github.com/repos/michaelb-01/pipe-mean/issues/20","id":386867203,"user":{"login":"michaelb-01","id":3755633,"avatar_url":"https://avatars0.githubusercontent.com/u/3755633?v=4","gravatar_id":"","url":"https://api.github.com/users/michaelb-01","html_url":"https://github.com/michaelb-01","followers_url":"https://api.github.com/users/michaelb-01/followers","following_url":"https://api.github.com/users/michaelb-01/following{/other_user}","gists_url":"https://api.github.com/users/michaelb-01/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelb-01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelb-01/subscriptions","organizations_url":"https://api.github.com/users/michaelb-01/orgs","repos_url":"https://api.github.com/users/michaelb-01/repos","events_url":"https://api.github.com/users/michaelb-01/events{/privacy}","received_events_url":"https://api.github.com/users/michaelb-01/received_events","type":"User","site_admin":false},"created_at":"2018-05-06T09:47:04Z","updated_at":"2018-05-06T09:47:04Z","author_association":"OWNER","body":"Resources:\r\n\r\n[Mean Stack - Front to Back](https://www.youtube.com/watch?v=uONz0lEWft0)\r\n[Authentication with roles](https://medium.com/@ryanchenkie_40935/angular-authentication-using-route-guards-bf7a4ca13ae3)"}}
{"actor":{"display_login":"michaelb-01"}}