{"action":"created","comment":{"url":"https://api.github.com/repos/DmytroOrlov/devgym/pulls/comments/89509123","pull_request_review_id":10054414,"id":89509123,"diff_hunk":"@@ -22,3 +22,5 @@ POST    /register                   controllers.UserController.postRegister\n #Login\n GET     /login                      controllers.UserController.getLogin\n POST    /login                      controllers.UserController.postLogin\n+GET     /githublogin                controllers.GitHubUser.getLogin\n+GET     /githubback                 controllers.GitHubUser.githubCallback(code: String)","path":"server/conf/routes","position":5,"original_position":5,"commit_id":"bcab92edbf96d2b6b43e3d22e1b5892e26bc3b7c","original_commit_id":"bcab92edbf96d2b6b43e3d22e1b5892e26bc3b7c","user":{"login":"DmytroOrlov","id":15229095,"avatar_url":"https://avatars.githubusercontent.com/u/15229095?v=3","gravatar_id":"","url":"https://api.github.com/users/DmytroOrlov","html_url":"https://github.com/DmytroOrlov","followers_url":"https://api.github.com/users/DmytroOrlov/followers","following_url":"https://api.github.com/users/DmytroOrlov/following{/other_user}","gists_url":"https://api.github.com/users/DmytroOrlov/gists{/gist_id}","starred_url":"https://api.github.com/users/DmytroOrlov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DmytroOrlov/subscriptions","organizations_url":"https://api.github.com/users/DmytroOrlov/orgs","repos_url":"https://api.github.com/users/DmytroOrlov/repos","events_url":"https://api.github.com/users/DmytroOrlov/events{/privacy}","received_events_url":"https://api.github.com/users/DmytroOrlov/received_events","type":"User","site_admin":false},"body":"Usually in oauth2:\r\n- redirects to some real host (`devgym.com/githubback`), so you can't intercept it and can't test on localhost\r\n- state (secret) should be unique (but github accepts nonunique? it is strange)","created_at":"2016-11-24T14:45:59Z","updated_at":"2016-11-24T14:45:59Z","html_url":"https://github.com/DmytroOrlov/devgym/pull/109#discussion_r89509123","pull_request_url":"https://api.github.com/repos/DmytroOrlov/devgym/pulls/109","_links":{"self":{"href":"https://api.github.com/repos/DmytroOrlov/devgym/pulls/comments/89509123"},"html":{"href":"https://github.com/DmytroOrlov/devgym/pull/109#discussion_r89509123"},"pull_request":{"href":"https://api.github.com/repos/DmytroOrlov/devgym/pulls/109"}}},"pull_request":{"url":"https://api.github.com/repos/DmytroOrlov/devgym/pulls/109","id":94056543,"html_url":"https://github.com/DmytroOrlov/devgym/pull/109","diff_url":"https://github.com/DmytroOrlov/devgym/pull/109.diff","patch_url":"https://github.com/DmytroOrlov/devgym/pull/109.patch","issue_url":"https://api.github.com/repos/DmytroOrlov/devgym/issues/109","number":109,"state":"open","locked":false,"title":"Add git hub signin","user":{"login":"novakov-alexey","id":11204284,"avatar_url":"https://avatars.githubusercontent.com/u/11204284?v=3","gravatar_id":"","url":"https://api.github.com/users/novakov-alexey","html_url":"https://github.com/novakov-alexey","followers_url":"https://api.github.com/users/novakov-alexey/followers","following_url":"https://api.github.com/users/novakov-alexey/following{/other_user}","gists_url":"https://api.github.com/users/novakov-alexey/gists{/gist_id}","starred_url":"https://api.github.com/users/novakov-alexey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/novakov-alexey/subscriptions","organizations_url":"https://api.github.com/users/novakov-alexey/orgs","repos_url":"https://api.github.com/users/novakov-alexey/repos","events_url":"https://api.github.com/users/novakov-alexey/events{/privacy}","received_events_url":"https://api.github.com/users/novakov-alexey/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-11-16T21:44:17Z","updated_at":"2016-11-24T14:45:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"eaaa3ddca72d50f38ba883b7e94ae6d30d4c1fd4","assignee":{"login":"DmytroOrlov","id":15229095,"avatar_url":"https://avatars.githubusercontent.com/u/15229095?v=3","gravatar_id":"","url":"https://api.github.com/users/DmytroOrlov","html_url":"https://github.com/DmytroOrlov","followers_url":"https://api.github.com/users/DmytroOrlov/followers","following_url":"https://api.github.com/users/DmytroOrlov/following{/other_user}","gists_url":"https://api.github.com/users/DmytroOrlov/gists{/gist_id}","starred_url":"https://api.github.com/users/DmytroOrlov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DmytroOrlov/subscriptions","organizations_url":"https://api.github.com/users/DmytroOrlov/orgs","repos_url":"https://api.github.com/users/DmytroOrlov/repos","events_url":"https://api.github.com/users/DmytroOrlov/events{/privacy}","received_events_url":"https://api.github.com/users/DmytroOrlov/received_events","type":"User","site_admin":false},"assignees":[{"login":"DmytroOrlov","id":15229095,"avatar_url":"https://avatars.githubusercontent.com/u/15229095?v=3","gravatar_id":"","url":"https://api.github.com/users/DmytroOrlov","html_url":"https://github.com/DmytroOrlov","followers_url":"https://api.github.com/users/DmytroOrlov/followers","following_url":"https://api.github.com/users/DmytroOrlov/following{/other_user}","gists_url":"https://api.github.com/users/DmytroOrlov/gists{/gist_id}","starred_url":"https://api.github.com/users/DmytroOrlov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DmytroOrlov/subscriptions","organizations_url":"https://api.github.com/users/DmytroOrlov/orgs","repos_url":"https://api.github.com/users/DmytroOrlov/repos","events_url":"https://api.github.com/users/DmytroOrlov/events{/privacy}","received_events_url":"https://api.github.com/users/DmytroOrlov/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/DmytroOrlov/devgym/pulls/109/commits","review_comments_url":"https://api.github.com/repos/DmytroOrlov/devgym/pulls/109/comments","review_comment_url":"https://api.github.com/repos/DmytroOrlov/devgym/pulls/comments{/number}","comments_url":"https://api.github.com/repos/DmytroOrlov/devgym/issues/109/comments","statuses_url":"https://api.github.com/repos/DmytroOrlov/devgym/statuses/bcab92edbf96d2b6b43e3d22e1b5892e26bc3b7c","head":{"label":"DmytroOrlov:add-git-hub-signin","ref":"add-git-hub-signin","sha":"bcab92edbf96d2b6b43e3d22e1b5892e26bc3b7c","user":{"login":"DmytroOrlov","id":15229095,"avatar_url":"https://avatars.githubusercontent.com/u/15229095?v=3","gravatar_id":"","url":"https://api.github.com/users/DmytroOrlov","html_url":"https://github.com/DmytroOrlov","followers_url":"https://api.github.com/users/DmytroOrlov/followers","following_url":"https://api.github.com/users/DmytroOrlov/following{/other_user}","gists_url":"https://api.github.com/users/DmytroOrlov/gists{/gist_id}","starred_url":"https://api.github.com/users/DmytroOrlov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DmytroOrlov/subscriptions","organizations_url":"https://api.github.com/users/DmytroOrlov/orgs","repos_url":"https://api.github.com/users/DmytroOrlov/repos","events_url":"https://api.github.com/users/DmytroOrlov/events{/privacy}","received_events_url":"https://api.github.com/users/DmytroOrlov/received_events","type":"User","site_admin":false},"repo":{"id":50196970,"name":"devgym","full_name":"DmytroOrlov/devgym","owner":{"login":"DmytroOrlov","id":15229095,"avatar_url":"https://avatars.githubusercontent.com/u/15229095?v=3","gravatar_id":"","url":"https://api.github.com/users/DmytroOrlov","html_url":"https://github.com/DmytroOrlov","followers_url":"https://api.github.com/users/DmytroOrlov/followers","following_url":"https://api.github.com/users/DmytroOrlov/following{/other_user}","gists_url":"https://api.github.com/users/DmytroOrlov/gists{/gist_id}","starred_url":"https://api.github.com/users/DmytroOrlov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DmytroOrlov/subscriptions","organizations_url":"https://api.github.com/users/DmytroOrlov/orgs","repos_url":"https://api.github.com/users/DmytroOrlov/repos","events_url":"https://api.github.com/users/DmytroOrlov/events{/privacy}","received_events_url":"https://api.github.com/users/DmytroOrlov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/DmytroOrlov/devgym","description":null,"fork":false,"url":"https://api.github.com/repos/DmytroOrlov/devgym","forks_url":"https://api.github.com/repos/DmytroOrlov/devgym/forks","keys_url":"https://api.github.com/repos/DmytroOrlov/devgym/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DmytroOrlov/devgym/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DmytroOrlov/devgym/teams","hooks_url":"https://api.github.com/repos/DmytroOrlov/devgym/hooks","issue_events_url":"https://api.github.com/repos/DmytroOrlov/devgym/issues/events{/number}","events_url":"https://api.github.com/repos/DmytroOrlov/devgym/events","assignees_url":"https://api.github.com/repos/DmytroOrlov/devgym/assignees{/user}","branches_url":"https://api.github.com/repos/DmytroOrlov/devgym/branches{/branch}","tags_url":"https://api.github.com/repos/DmytroOrlov/devgym/tags","blobs_url":"https://api.github.com/repos/DmytroOrlov/devgym/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DmytroOrlov/devgym/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DmytroOrlov/devgym/git/refs{/sha}","trees_url":"https://api.github.com/repos/DmytroOrlov/devgym/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DmytroOrlov/devgym/statuses/{sha}","languages_url":"https://api.github.com/repos/DmytroOrlov/devgym/languages","stargazers_url":"https://api.github.com/repos/DmytroOrlov/devgym/stargazers","contributors_url":"https://api.github.com/repos/DmytroOrlov/devgym/contributors","subscribers_url":"https://api.github.com/repos/DmytroOrlov/devgym/subscribers","subscription_url":"https://api.github.com/repos/DmytroOrlov/devgym/subscription","commits_url":"https://api.github.com/repos/DmytroOrlov/devgym/commits{/sha}","git_commits_url":"https://api.github.com/repos/DmytroOrlov/devgym/git/commits{/sha}","comments_url":"https://api.github.com/repos/DmytroOrlov/devgym/comments{/number}","issue_comment_url":"https://api.github.com/repos/DmytroOrlov/devgym/issues/comments{/number}","contents_url":"https://api.github.com/repos/DmytroOrlov/devgym/contents/{+path}","compare_url":"https://api.github.com/repos/DmytroOrlov/devgym/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DmytroOrlov/devgym/merges","archive_url":"https://api.github.com/repos/DmytroOrlov/devgym/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DmytroOrlov/devgym/downloads","issues_url":"https://api.github.com/repos/DmytroOrlov/devgym/issues{/number}","pulls_url":"https://api.github.com/repos/DmytroOrlov/devgym/pulls{/number}","milestones_url":"https://api.github.com/repos/DmytroOrlov/devgym/milestones{/number}","notifications_url":"https://api.github.com/repos/DmytroOrlov/devgym/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DmytroOrlov/devgym/labels{/name}","releases_url":"https://api.github.com/repos/DmytroOrlov/devgym/releases{/id}","deployments_url":"https://api.github.com/repos/DmytroOrlov/devgym/deployments","created_at":"2016-01-22T17:38:24Z","updated_at":"2016-01-29T23:10:52Z","pushed_at":"2016-11-24T13:17:40Z","git_url":"git://github.com/DmytroOrlov/devgym.git","ssh_url":"git@github.com:DmytroOrlov/devgym.git","clone_url":"https://github.com/DmytroOrlov/devgym.git","svn_url":"https://github.com/DmytroOrlov/devgym","homepage":null,"size":2520,"stargazers_count":1,"watchers_count":1,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":1,"default_branch":"master"}},"base":{"label":"DmytroOrlov:master","ref":"master","sha":"0a48d26dc9395e8597d956b2f687bd9eafd1fc5a","user":{"login":"DmytroOrlov","id":15229095,"avatar_url":"https://avatars.githubusercontent.com/u/15229095?v=3","gravatar_id":"","url":"https://api.github.com/users/DmytroOrlov","html_url":"https://github.com/DmytroOrlov","followers_url":"https://api.github.com/users/DmytroOrlov/followers","following_url":"https://api.github.com/users/DmytroOrlov/following{/other_user}","gists_url":"https://api.github.com/users/DmytroOrlov/gists{/gist_id}","starred_url":"https://api.github.com/users/DmytroOrlov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DmytroOrlov/subscriptions","organizations_url":"https://api.github.com/users/DmytroOrlov/orgs","repos_url":"https://api.github.com/users/DmytroOrlov/repos","events_url":"https://api.github.com/users/DmytroOrlov/events{/privacy}","received_events_url":"https://api.github.com/users/DmytroOrlov/received_events","type":"User","site_admin":false},"repo":{"id":50196970,"name":"devgym","full_name":"DmytroOrlov/devgym","owner":{"login":"DmytroOrlov","id":15229095,"avatar_url":"https://avatars.githubusercontent.com/u/15229095?v=3","gravatar_id":"","url":"https://api.github.com/users/DmytroOrlov","html_url":"https://github.com/DmytroOrlov","followers_url":"https://api.github.com/users/DmytroOrlov/followers","following_url":"https://api.github.com/users/DmytroOrlov/following{/other_user}","gists_url":"https://api.github.com/users/DmytroOrlov/gists{/gist_id}","starred_url":"https://api.github.com/users/DmytroOrlov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DmytroOrlov/subscriptions","organizations_url":"https://api.github.com/users/DmytroOrlov/orgs","repos_url":"https://api.github.com/users/DmytroOrlov/repos","events_url":"https://api.github.com/users/DmytroOrlov/events{/privacy}","received_events_url":"https://api.github.com/users/DmytroOrlov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/DmytroOrlov/devgym","description":null,"fork":false,"url":"https://api.github.com/repos/DmytroOrlov/devgym","forks_url":"https://api.github.com/repos/DmytroOrlov/devgym/forks","keys_url":"https://api.github.com/repos/DmytroOrlov/devgym/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DmytroOrlov/devgym/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DmytroOrlov/devgym/teams","hooks_url":"https://api.github.com/repos/DmytroOrlov/devgym/hooks","issue_events_url":"https://api.github.com/repos/DmytroOrlov/devgym/issues/events{/number}","events_url":"https://api.github.com/repos/DmytroOrlov/devgym/events","assignees_url":"https://api.github.com/repos/DmytroOrlov/devgym/assignees{/user}","branches_url":"https://api.github.com/repos/DmytroOrlov/devgym/branches{/branch}","tags_url":"https://api.github.com/repos/DmytroOrlov/devgym/tags","blobs_url":"https://api.github.com/repos/DmytroOrlov/devgym/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DmytroOrlov/devgym/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DmytroOrlov/devgym/git/refs{/sha}","trees_url":"https://api.github.com/repos/DmytroOrlov/devgym/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DmytroOrlov/devgym/statuses/{sha}","languages_url":"https://api.github.com/repos/DmytroOrlov/devgym/languages","stargazers_url":"https://api.github.com/repos/DmytroOrlov/devgym/stargazers","contributors_url":"https://api.github.com/repos/DmytroOrlov/devgym/contributors","subscribers_url":"https://api.github.com/repos/DmytroOrlov/devgym/subscribers","subscription_url":"https://api.github.com/repos/DmytroOrlov/devgym/subscription","commits_url":"https://api.github.com/repos/DmytroOrlov/devgym/commits{/sha}","git_commits_url":"https://api.github.com/repos/DmytroOrlov/devgym/git/commits{/sha}","comments_url":"https://api.github.com/repos/DmytroOrlov/devgym/comments{/number}","issue_comment_url":"https://api.github.com/repos/DmytroOrlov/devgym/issues/comments{/number}","contents_url":"https://api.github.com/repos/DmytroOrlov/devgym/contents/{+path}","compare_url":"https://api.github.com/repos/DmytroOrlov/devgym/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DmytroOrlov/devgym/merges","archive_url":"https://api.github.com/repos/DmytroOrlov/devgym/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DmytroOrlov/devgym/downloads","issues_url":"https://api.github.com/repos/DmytroOrlov/devgym/issues{/number}","pulls_url":"https://api.github.com/repos/DmytroOrlov/devgym/pulls{/number}","milestones_url":"https://api.github.com/repos/DmytroOrlov/devgym/milestones{/number}","notifications_url":"https://api.github.com/repos/DmytroOrlov/devgym/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DmytroOrlov/devgym/labels{/name}","releases_url":"https://api.github.com/repos/DmytroOrlov/devgym/releases{/id}","deployments_url":"https://api.github.com/repos/DmytroOrlov/devgym/deployments","created_at":"2016-01-22T17:38:24Z","updated_at":"2016-01-29T23:10:52Z","pushed_at":"2016-11-24T13:17:40Z","git_url":"git://github.com/DmytroOrlov/devgym.git","ssh_url":"git@github.com:DmytroOrlov/devgym.git","clone_url":"https://github.com/DmytroOrlov/devgym.git","svn_url":"https://github.com/DmytroOrlov/devgym","homepage":null,"size":2520,"stargazers_count":1,"watchers_count":1,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/DmytroOrlov/devgym/pulls/109"},"html":{"href":"https://github.com/DmytroOrlov/devgym/pull/109"},"issue":{"href":"https://api.github.com/repos/DmytroOrlov/devgym/issues/109"},"comments":{"href":"https://api.github.com/repos/DmytroOrlov/devgym/issues/109/comments"},"review_comments":{"href":"https://api.github.com/repos/DmytroOrlov/devgym/pulls/109/comments"},"review_comment":{"href":"https://api.github.com/repos/DmytroOrlov/devgym/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/DmytroOrlov/devgym/pulls/109/commits"},"statuses":{"href":"https://api.github.com/repos/DmytroOrlov/devgym/statuses/bcab92edbf96d2b6b43e3d22e1b5892e26bc3b7c"}}}}
{"actor":{"display_login":"DmytroOrlov"}}