{"action":"created","issue":{"url":"https://api.github.com/repos/tiquetme/tiquet.me/issues/1","labels_url":"https://api.github.com/repos/tiquetme/tiquet.me/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/tiquetme/tiquet.me/issues/1/comments","events_url":"https://api.github.com/repos/tiquetme/tiquet.me/issues/1/events","html_url":"https://github.com/tiquetme/tiquet.me/issues/1","id":60517120,"number":1,"title":"Authentication with GitHub","user":{"login":"craigcabrey","id":894565,"avatar_url":"https://avatars.githubusercontent.com/u/894565?v=3","gravatar_id":"","url":"https://api.github.com/users/craigcabrey","html_url":"https://github.com/craigcabrey","followers_url":"https://api.github.com/users/craigcabrey/followers","following_url":"https://api.github.com/users/craigcabrey/following{/other_user}","gists_url":"https://api.github.com/users/craigcabrey/gists{/gist_id}","starred_url":"https://api.github.com/users/craigcabrey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/craigcabrey/subscriptions","organizations_url":"https://api.github.com/users/craigcabrey/orgs","repos_url":"https://api.github.com/users/craigcabrey/repos","events_url":"https://api.github.com/users/craigcabrey/events{/privacy}","received_events_url":"https://api.github.com/users/craigcabrey/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/tiquetme/tiquet.me/labels/api","name":"api","color":"eb6420"},{"url":"https://api.github.com/repos/tiquetme/tiquet.me/labels/feature","name":"feature","color":"00cc00"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-03-10T15:25:13Z","updated_at":"2015-04-18T14:13:25Z","closed_at":"2015-03-11T02:48:48Z","body":"We need to integrate with GitHub for users to authenticate.\r\n\r\n* `loopback-component-passport`, `passport`, and `passport-github` will all be involved.\r\n* `loopback-sdk-angular` doesn't support cookie based authentication, so that needs to be worked around\r\n  * https://github.com/strongloop/loopback-sdk-angular/issues/74\r\n* Need to extend the `User` model in order to store the generate GitHub access token for each user"},"comment":{"url":"https://api.github.com/repos/tiquetme/tiquet.me/issues/comments/94167299","html_url":"https://github.com/tiquetme/tiquet.me/issues/1#issuecomment-94167299","issue_url":"https://api.github.com/repos/tiquetme/tiquet.me/issues/1","id":94167299,"user":{"login":"craigcabrey","id":894565,"avatar_url":"https://avatars.githubusercontent.com/u/894565?v=3","gravatar_id":"","url":"https://api.github.com/users/craigcabrey","html_url":"https://github.com/craigcabrey","followers_url":"https://api.github.com/users/craigcabrey/followers","following_url":"https://api.github.com/users/craigcabrey/following{/other_user}","gists_url":"https://api.github.com/users/craigcabrey/gists{/gist_id}","starred_url":"https://api.github.com/users/craigcabrey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/craigcabrey/subscriptions","organizations_url":"https://api.github.com/users/craigcabrey/orgs","repos_url":"https://api.github.com/users/craigcabrey/repos","events_url":"https://api.github.com/users/craigcabrey/events{/privacy}","received_events_url":"https://api.github.com/users/craigcabrey/received_events","type":"User","site_admin":false},"created_at":"2015-04-18T14:13:25Z","updated_at":"2015-04-18T14:13:25Z","body":"Yes, we have a very simple workaround.\r\n\r\nIt can be found in `fix-token.js` in the client application code."}}