{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla/addons-frontend/issues/146","repository_url":"https://api.github.com/repos/mozilla/addons-frontend","labels_url":"https://api.github.com/repos/mozilla/addons-frontend/issues/146/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/addons-frontend/issues/146/comments","events_url":"https://api.github.com/repos/mozilla/addons-frontend/issues/146/events","html_url":"https://github.com/mozilla/addons-frontend/issues/146","id":143301137,"number":146,"title":"Support authentication for client side requests","user":{"login":"mstriemer","id":211578,"avatar_url":"https://avatars.githubusercontent.com/u/211578?v=3","gravatar_id":"","url":"https://api.github.com/users/mstriemer","html_url":"https://github.com/mstriemer","followers_url":"https://api.github.com/users/mstriemer/followers","following_url":"https://api.github.com/users/mstriemer/following{/other_user}","gists_url":"https://api.github.com/users/mstriemer/gists{/gist_id}","starred_url":"https://api.github.com/users/mstriemer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mstriemer/subscriptions","organizations_url":"https://api.github.com/users/mstriemer/orgs","repos_url":"https://api.github.com/users/mstriemer/repos","events_url":"https://api.github.com/users/mstriemer/events{/privacy}","received_events_url":"https://api.github.com/users/mstriemer/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mozilla/addons-frontend/labels/search","name":"search","color":"fbca04"},{"url":"https://api.github.com/repos/mozilla/addons-frontend/labels/upstream-dep","name":"upstream-dep","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/mozilla/addons-frontend/milestones/3","html_url":"https://github.com/mozilla/addons-frontend/milestones/48.2","labels_url":"https://api.github.com/repos/mozilla/addons-frontend/milestones/3/labels","id":1631753,"number":3,"title":"48.2","description":"","creator":{"login":"andymckay","id":74699,"avatar_url":"https://avatars.githubusercontent.com/u/74699?v=3","gravatar_id":"","url":"https://api.github.com/users/andymckay","html_url":"https://github.com/andymckay","followers_url":"https://api.github.com/users/andymckay/followers","following_url":"https://api.github.com/users/andymckay/following{/other_user}","gists_url":"https://api.github.com/users/andymckay/gists{/gist_id}","starred_url":"https://api.github.com/users/andymckay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andymckay/subscriptions","organizations_url":"https://api.github.com/users/andymckay/orgs","repos_url":"https://api.github.com/users/andymckay/repos","events_url":"https://api.github.com/users/andymckay/events{/privacy}","received_events_url":"https://api.github.com/users/andymckay/received_events","type":"User","site_admin":false},"open_issues":8,"closed_issues":3,"state":"open","created_at":"2016-03-08T23:23:31Z","updated_at":"2016-03-24T16:56:46Z","due_on":"2016-04-01T07:00:00Z","closed_at":null},"comments":1,"created_at":"2016-03-24T16:56:24Z","updated_at":"2016-03-24T17:09:11Z","closed_at":null,"body":"We need a way to pass a JWT to the server for client-side requests. We could pull it from a cookie and put it in the state for the client to pick up.\r\n\r\nI don't think addons-server supports our long-lived JWTs yet, unfortunately."},"comment":{"url":"https://api.github.com/repos/mozilla/addons-frontend/issues/comments/200930291","html_url":"https://github.com/mozilla/addons-frontend/issues/146#issuecomment-200930291","issue_url":"https://api.github.com/repos/mozilla/addons-frontend/issues/146","id":200930291,"user":{"login":"diox","id":187006,"avatar_url":"https://avatars.githubusercontent.com/u/187006?v=3","gravatar_id":"","url":"https://api.github.com/users/diox","html_url":"https://github.com/diox","followers_url":"https://api.github.com/users/diox/followers","following_url":"https://api.github.com/users/diox/following{/other_user}","gists_url":"https://api.github.com/users/diox/gists{/gist_id}","starred_url":"https://api.github.com/users/diox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diox/subscriptions","organizations_url":"https://api.github.com/users/diox/orgs","repos_url":"https://api.github.com/users/diox/repos","events_url":"https://api.github.com/users/diox/events{/privacy}","received_events_url":"https://api.github.com/users/diox/received_events","type":"User","site_admin":false},"created_at":"2016-03-24T17:09:11Z","updated_at":"2016-03-24T17:09:11Z","body":"I plan to work on auth in addons-server next week. The login view will probably generate and return a JWT when you, well, log in. Follow https://github.com/mozilla/addons-server/issues/1859 for details."}}