{"action":"created","issue":{"url":"https://api.github.com/repos/ekonstantinidis/gitify/issues/96","labels_url":"https://api.github.com/repos/ekonstantinidis/gitify/issues/96/labels{/name}","comments_url":"https://api.github.com/repos/ekonstantinidis/gitify/issues/96/comments","events_url":"https://api.github.com/repos/ekonstantinidis/gitify/issues/96/events","html_url":"https://github.com/ekonstantinidis/gitify/issues/96","id":107340879,"number":96,"title":"Uncaught (in promise) Error: Unauthorized","user":{"login":"mdibaiee","id":2807772,"avatar_url":"https://avatars.githubusercontent.com/u/2807772?v=3","gravatar_id":"","url":"https://api.github.com/users/mdibaiee","html_url":"https://github.com/mdibaiee","followers_url":"https://api.github.com/users/mdibaiee/followers","following_url":"https://api.github.com/users/mdibaiee/following{/other_user}","gists_url":"https://api.github.com/users/mdibaiee/gists{/gist_id}","starred_url":"https://api.github.com/users/mdibaiee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdibaiee/subscriptions","organizations_url":"https://api.github.com/users/mdibaiee/orgs","repos_url":"https://api.github.com/users/mdibaiee/repos","events_url":"https://api.github.com/users/mdibaiee/events{/privacy}","received_events_url":"https://api.github.com/users/mdibaiee/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-19T15:47:22Z","updated_at":"2015-09-19T16:58:16Z","closed_at":null,"body":"Hey, I just cloned and built Gitify using `npm build`.\r\n\r\nSo I `npm start`, I login and I get: \"Oops something went wrong. Couldn't get your notifications\"\r\n\r\nconsole:\r\n```\r\n[58426:0919/201607:INFO:CONSOLE(26876)] \"Uncaught (in promise) Error: Unauthorized\", source: file:///Users/mahdi/Documents/Workshop/github/gitify/build/js/app.js (26876)\r\n[58426:0919/201710:INFO:CONSOLE(0)] \"Refused to set unsafe header \"User-Agent\"\", source: file:///Users/mahdi/Documents/Workshop/github/gitify/index.html#/notifications (0)\r\n```\r\n\r\nbtw I tried revoking GitHub access and authorizing again, no change.\r\n"},"comment":{"url":"https://api.github.com/repos/ekonstantinidis/gitify/issues/comments/141687784","html_url":"https://github.com/ekonstantinidis/gitify/issues/96#issuecomment-141687784","issue_url":"https://api.github.com/repos/ekonstantinidis/gitify/issues/96","id":141687784,"user":{"login":"ekonstantinidis","id":6333409,"avatar_url":"https://avatars.githubusercontent.com/u/6333409?v=3","gravatar_id":"","url":"https://api.github.com/users/ekonstantinidis","html_url":"https://github.com/ekonstantinidis","followers_url":"https://api.github.com/users/ekonstantinidis/followers","following_url":"https://api.github.com/users/ekonstantinidis/following{/other_user}","gists_url":"https://api.github.com/users/ekonstantinidis/gists{/gist_id}","starred_url":"https://api.github.com/users/ekonstantinidis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ekonstantinidis/subscriptions","organizations_url":"https://api.github.com/users/ekonstantinidis/orgs","repos_url":"https://api.github.com/users/ekonstantinidis/repos","events_url":"https://api.github.com/users/ekonstantinidis/events{/privacy}","received_events_url":"https://api.github.com/users/ekonstantinidis/received_events","type":"User","site_admin":false},"created_at":"2015-09-19T16:58:16Z","updated_at":"2015-09-19T16:58:16Z","body":"Hi @mdibaiee! This is happening because the **client secret key** is missing from the file  `/src/js/components/login.js` (https://github.com/ekonstantinidis/gitify/blob/master/src/js/components/login.js#L21).\r\n\r\nIt has been removed for security reasons from the repository. You can create an application at https://github.com/settings/developers and use that `Client ID` and `Client Secret` for development purposes. Let me know if you have any issues!"}}