{"action":"created","issue":{"url":"https://api.github.com/repos/socobo/SocoboPlusPlus/issues/34","repository_url":"https://api.github.com/repos/socobo/SocoboPlusPlus","labels_url":"https://api.github.com/repos/socobo/SocoboPlusPlus/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/socobo/SocoboPlusPlus/issues/34/comments","events_url":"https://api.github.com/repos/socobo/SocoboPlusPlus/issues/34/events","html_url":"https://github.com/socobo/SocoboPlusPlus/issues/34","id":200793179,"number":34,"title":"improve JWT creation and validation","user":{"login":"flashback2k14","id":6609359,"avatar_url":"https://avatars.githubusercontent.com/u/6609359?v=3","gravatar_id":"","url":"https://api.github.com/users/flashback2k14","html_url":"https://github.com/flashback2k14","followers_url":"https://api.github.com/users/flashback2k14/followers","following_url":"https://api.github.com/users/flashback2k14/following{/other_user}","gists_url":"https://api.github.com/users/flashback2k14/gists{/gist_id}","starred_url":"https://api.github.com/users/flashback2k14/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flashback2k14/subscriptions","organizations_url":"https://api.github.com/users/flashback2k14/orgs","repos_url":"https://api.github.com/users/flashback2k14/repos","events_url":"https://api.github.com/users/flashback2k14/events{/privacy}","received_events_url":"https://api.github.com/users/flashback2k14/received_events","type":"User","site_admin":false},"labels":[{"id":497273604,"url":"https://api.github.com/repos/socobo/SocoboPlusPlus/labels/backend","name":"backend","color":"0e7c2c","default":false},{"id":497278645,"url":"https://api.github.com/repos/socobo/SocoboPlusPlus/labels/discuss","name":"discuss","color":"5319e7","default":false},{"id":492649862,"url":"https://api.github.com/repos/socobo/SocoboPlusPlus/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-01-14T09:38:20Z","updated_at":"2017-01-17T20:43:45Z","closed_at":null,"body":"- create JWT only with specific user fields\r\n- create new middleware function inside AuthValidator called checkPayload() \r\n  - if the extracted user is a valid user \r\n  - if the user is allowed to access a specific endpoint, e.g. admin "},"comment":{"url":"https://api.github.com/repos/socobo/SocoboPlusPlus/issues/comments/273293735","html_url":"https://github.com/socobo/SocoboPlusPlus/issues/34#issuecomment-273293735","issue_url":"https://api.github.com/repos/socobo/SocoboPlusPlus/issues/34","id":273293735,"user":{"login":"flashback2k14","id":6609359,"avatar_url":"https://avatars.githubusercontent.com/u/6609359?v=3","gravatar_id":"","url":"https://api.github.com/users/flashback2k14","html_url":"https://github.com/flashback2k14","followers_url":"https://api.github.com/users/flashback2k14/followers","following_url":"https://api.github.com/users/flashback2k14/following{/other_user}","gists_url":"https://api.github.com/users/flashback2k14/gists{/gist_id}","starred_url":"https://api.github.com/users/flashback2k14/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flashback2k14/subscriptions","organizations_url":"https://api.github.com/users/flashback2k14/orgs","repos_url":"https://api.github.com/users/flashback2k14/repos","events_url":"https://api.github.com/users/flashback2k14/events{/privacy}","received_events_url":"https://api.github.com/users/flashback2k14/received_events","type":"User","site_admin":false},"created_at":"2017-01-17T20:43:45Z","updated_at":"2017-01-17T20:43:45Z","body":"Yes, this is enough for this time."}}
{"actor":{"display_login":"flashback2k14"}}