{"action":"created","issue":{"url":"https://api.github.com/repos/mxstbr/micro-github/issues/9","repository_url":"https://api.github.com/repos/mxstbr/micro-github","labels_url":"https://api.github.com/repos/mxstbr/micro-github/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/mxstbr/micro-github/issues/9/comments","events_url":"https://api.github.com/repos/mxstbr/micro-github/issues/9/events","html_url":"https://github.com/mxstbr/micro-github/pull/9","id":213608236,"number":9,"title":"Support state param in the user authenticate call","user":{"login":"timReynolds","id":168870,"avatar_url":"https://avatars2.githubusercontent.com/u/168870?v=3","gravatar_id":"","url":"https://api.github.com/users/timReynolds","html_url":"https://github.com/timReynolds","followers_url":"https://api.github.com/users/timReynolds/followers","following_url":"https://api.github.com/users/timReynolds/following{/other_user}","gists_url":"https://api.github.com/users/timReynolds/gists{/gist_id}","starred_url":"https://api.github.com/users/timReynolds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timReynolds/subscriptions","organizations_url":"https://api.github.com/users/timReynolds/orgs","repos_url":"https://api.github.com/users/timReynolds/repos","events_url":"https://api.github.com/users/timReynolds/events{/privacy}","received_events_url":"https://api.github.com/users/timReynolds/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-03-12T14:32:08Z","updated_at":"2017-04-01T20:26:22Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mxstbr/micro-github/pulls/9","html_url":"https://github.com/mxstbr/micro-github/pull/9","diff_url":"https://github.com/mxstbr/micro-github/pull/9.diff","patch_url":"https://github.com/mxstbr/micro-github/pull/9.patch"},"body":"This PR fixes #3 \r\n\r\nI came to the same conclusion as the @mxstbr that the best way to do this is adding an additional url for login that populates the state param then redirects the user to the GitHub authorise page. \r\n\r\nAs I've had to update the routes this is a breaking change. \r\n\r\nFor simplicity a list of known states are stored in memory. \r\n\r\n"},"comment":{"url":"https://api.github.com/repos/mxstbr/micro-github/issues/comments/290945055","html_url":"https://github.com/mxstbr/micro-github/pull/9#issuecomment-290945055","issue_url":"https://api.github.com/repos/mxstbr/micro-github/issues/9","id":290945055,"user":{"login":"timReynolds","id":168870,"avatar_url":"https://avatars2.githubusercontent.com/u/168870?v=3","gravatar_id":"","url":"https://api.github.com/users/timReynolds","html_url":"https://github.com/timReynolds","followers_url":"https://api.github.com/users/timReynolds/followers","following_url":"https://api.github.com/users/timReynolds/following{/other_user}","gists_url":"https://api.github.com/users/timReynolds/gists{/gist_id}","starred_url":"https://api.github.com/users/timReynolds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timReynolds/subscriptions","organizations_url":"https://api.github.com/users/timReynolds/orgs","repos_url":"https://api.github.com/users/timReynolds/repos","events_url":"https://api.github.com/users/timReynolds/events{/privacy}","received_events_url":"https://api.github.com/users/timReynolds/received_events","type":"User","site_admin":false},"created_at":"2017-04-01T20:26:22Z","updated_at":"2017-04-01T20:26:22Z","body":"Change log is now included which documents the 1.0.0 state change. "}}
{"actor":{"display_login":"timReynolds"}}