{"action":"created","comment":{"url":"https://api.github.com/repos/maestrano/mno-enterprise/pulls/comments/212813449","pull_request_review_id":149525463,"id":212813449,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxMjgxMzQ0OQ==","diff_hunk":"@@ -47,6 +47,16 @@ module MnoEnterprise\n \n       it { subject; expect(response).to be_success }\n       it { subject; expect(assigns(:redirect_to)).to eq(redirect_url) }\n+      it { subject; expect(session[:redirect_path]).to eq(extra_params[:redirect_path]) }\n+\n+      context 'when speedbumps must be skipped' do\n+        it 'redirects immediately' do\n+          ClimateControl.modify SKIP_REDIRECTION_SPEEDBUMPS: 'true' do","path":"api/spec/controllers/mno_enterprise/webhook/o_auth_controller_spec.rb","position":17,"original_position":17,"commit_id":"24d1fc5dbd2686b7ad0a88a9aa3ee75746520da3","original_commit_id":"24d1fc5dbd2686b7ad0a88a9aa3ee75746520da3","user":{"login":"ouranos","id":19894,"node_id":"MDQ6VXNlcjE5ODk0","avatar_url":"https://avatars1.githubusercontent.com/u/19894?v=4","gravatar_id":"","url":"https://api.github.com/users/ouranos","html_url":"https://github.com/ouranos","followers_url":"https://api.github.com/users/ouranos/followers","following_url":"https://api.github.com/users/ouranos/following{/other_user}","gists_url":"https://api.github.com/users/ouranos/gists{/gist_id}","starred_url":"https://api.github.com/users/ouranos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ouranos/subscriptions","organizations_url":"https://api.github.com/users/ouranos/orgs","repos_url":"https://api.github.com/users/ouranos/repos","events_url":"https://api.github.com/users/ouranos/events{/privacy}","received_events_url":"https://api.github.com/users/ouranos/received_events","type":"User","site_admin":false},"body":"We have a helper around this:\r\n```ruby\r\nwith_modified_env SKIP_REDIRECTION_SPEEDBUMPS: 'true' do\r\nend\r\n```","created_at":"2018-08-26T02:43:02Z","updated_at":"2018-08-26T02:45:55Z","html_url":"https://github.com/maestrano/mno-enterprise/pull/774#discussion_r212813449","pull_request_url":"https://api.github.com/repos/maestrano/mno-enterprise/pulls/774","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/maestrano/mno-enterprise/pulls/comments/212813449"},"html":{"href":"https://github.com/maestrano/mno-enterprise/pull/774#discussion_r212813449"},"pull_request":{"href":"https://api.github.com/repos/maestrano/mno-enterprise/pulls/774"}}},"pull_request":{"url":"https://api.github.com/repos/maestrano/mno-enterprise/pulls/774","id":210930554,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEwOTMwNTU0","html_url":"https://github.com/maestrano/mno-enterprise/pull/774","diff_url":"https://github.com/maestrano/mno-enterprise/pull/774.diff","patch_url":"https://github.com/maestrano/mno-enterprise/pull/774.patch","issue_url":"https://api.github.com/repos/maestrano/mno-enterprise/issues/774","number":774,"state":"open","locked":false,"title":"[MARLIN-142] Improve connection redirections","user":{"login":"alachaum","id":469637,"node_id":"MDQ6VXNlcjQ2OTYzNw==","avatar_url":"https://avatars0.githubusercontent.com/u/469637?v=4","gravatar_id":"","url":"https://api.github.com/users/alachaum","html_url":"https://github.com/alachaum","followers_url":"https://api.github.com/users/alachaum/followers","following_url":"https://api.github.com/users/alachaum/following{/other_user}","gists_url":"https://api.github.com/users/alachaum/gists{/gist_id}","starred_url":"https://api.github.com/users/alachaum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alachaum/subscriptions","organizations_url":"https://api.github.com/users/alachaum/orgs","repos_url":"https://api.github.com/users/alachaum/repos","events_url":"https://api.github.com/users/alachaum/events{/privacy}","received_events_url":"https://api.github.com/users/alachaum/received_events","type":"User","site_admin":false},"body":"Improve redirection workflows on `OAuthController`\r\n\r\n*Summary*\r\n- Capture redirect path on `sync` and `disconnect`\r\n- Add option to skip redirection speedbump","created_at":"2018-08-26T02:32:03Z","updated_at":"2018-08-26T02:45:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1b958cf5bd094ca9eca1dd986e7265a66560ffa8","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":346711227,"node_id":"MDU6TGFiZWwzNDY3MTEyMjc=","url":"https://api.github.com/repos/maestrano/mno-enterprise/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"milestone":{"url":"https://api.github.com/repos/maestrano/mno-enterprise/milestones/6","html_url":"https://github.com/maestrano/mno-enterprise/milestone/6","labels_url":"https://api.github.com/repos/maestrano/mno-enterprise/milestones/6/labels","id":3458356,"node_id":"MDk6TWlsZXN0b25lMzQ1ODM1Ng==","number":6,"title":"Marlin","description":"","creator":{"login":"ouranos","id":19894,"node_id":"MDQ6VXNlcjE5ODk0","avatar_url":"https://avatars1.githubusercontent.com/u/19894?v=4","gravatar_id":"","url":"https://api.github.com/users/ouranos","html_url":"https://github.com/ouranos","followers_url":"https://api.github.com/users/ouranos/followers","following_url":"https://api.github.com/users/ouranos/following{/other_user}","gists_url":"https://api.github.com/users/ouranos/gists{/gist_id}","starred_url":"https://api.github.com/users/ouranos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ouranos/subscriptions","organizations_url":"https://api.github.com/users/ouranos/orgs","repos_url":"https://api.github.com/users/ouranos/repos","events_url":"https://api.github.com/users/ouranos/events{/privacy}","received_events_url":"https://api.github.com/users/ouranos/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":0,"state":"open","created_at":"2018-06-28T04:11:49Z","updated_at":"2018-08-26T02:41:25Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/maestrano/mno-enterprise/pulls/774/commits","review_comments_url":"https://api.github.com/repos/maestrano/mno-enterprise/pulls/774/comments","review_comment_url":"https://api.github.com/repos/maestrano/mno-enterprise/pulls/comments{/number}","comments_url":"https://api.github.com/repos/maestrano/mno-enterprise/issues/774/comments","statuses_url":"https://api.github.com/repos/maestrano/mno-enterprise/statuses/24d1fc5dbd2686b7ad0a88a9aa3ee75746520da3","head":{"label":"alachaum:fix-redirect-path-capture","ref":"fix-redirect-path-capture","sha":"24d1fc5dbd2686b7ad0a88a9aa3ee75746520da3","user":{"login":"alachaum","id":469637,"node_id":"MDQ6VXNlcjQ2OTYzNw==","avatar_url":"https://avatars0.githubusercontent.com/u/469637?v=4","gravatar_id":"","url":"https://api.github.com/users/alachaum","html_url":"https://github.com/alachaum","followers_url":"https://api.github.com/users/alachaum/followers","following_url":"https://api.github.com/users/alachaum/following{/other_user}","gists_url":"https://api.github.com/users/alachaum/gists{/gist_id}","starred_url":"https://api.github.com/users/alachaum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alachaum/subscriptions","organizations_url":"https://api.github.com/users/alachaum/orgs","repos_url":"https://api.github.com/users/alachaum/repos","events_url":"https://api.github.com/users/alachaum/events{/privacy}","received_events_url":"https://api.github.com/users/alachaum/received_events","type":"User","site_admin":false},"repo":{"id":55476234,"node_id":"MDEwOlJlcG9zaXRvcnk1NTQ3NjIzNA==","name":"mno-enterprise","full_name":"alachaum/mno-enterprise","owner":{"login":"alachaum","id":469637,"node_id":"MDQ6VXNlcjQ2OTYzNw==","avatar_url":"https://avatars0.githubusercontent.com/u/469637?v=4","gravatar_id":"","url":"https://api.github.com/users/alachaum","html_url":"https://github.com/alachaum","followers_url":"https://api.github.com/users/alachaum/followers","following_url":"https://api.github.com/users/alachaum/following{/other_user}","gists_url":"https://api.github.com/users/alachaum/gists{/gist_id}","starred_url":"https://api.github.com/users/alachaum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alachaum/subscriptions","organizations_url":"https://api.github.com/users/alachaum/orgs","repos_url":"https://api.github.com/users/alachaum/repos","events_url":"https://api.github.com/users/alachaum/events{/privacy}","received_events_url":"https://api.github.com/users/alachaum/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/alachaum/mno-enterprise","description":null,"fork":true,"url":"https://api.github.com/repos/alachaum/mno-enterprise","forks_url":"https://api.github.com/repos/alachaum/mno-enterprise/forks","keys_url":"https://api.github.com/repos/alachaum/mno-enterprise/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alachaum/mno-enterprise/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alachaum/mno-enterprise/teams","hooks_url":"https://api.github.com/repos/alachaum/mno-enterprise/hooks","issue_events_url":"https://api.github.com/repos/alachaum/mno-enterprise/issues/events{/number}","events_url":"https://api.github.com/repos/alachaum/mno-enterprise/events","assignees_url":"https://api.github.com/repos/alachaum/mno-enterprise/assignees{/user}","branches_url":"https://api.github.com/repos/alachaum/mno-enterprise/branches{/branch}","tags_url":"https://api.github.com/repos/alachaum/mno-enterprise/tags","blobs_url":"https://api.github.com/repos/alachaum/mno-enterprise/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alachaum/mno-enterprise/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alachaum/mno-enterprise/git/refs{/sha}","trees_url":"https://api.github.com/repos/alachaum/mno-enterprise/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alachaum/mno-enterprise/statuses/{sha}","languages_url":"https://api.github.com/repos/alachaum/mno-enterprise/languages","stargazers_url":"https://api.github.com/repos/alachaum/mno-enterprise/stargazers","contributors_url":"https://api.github.com/repos/alachaum/mno-enterprise/contributors","subscribers_url":"https://api.github.com/repos/alachaum/mno-enterprise/subscribers","subscription_url":"https://api.github.com/repos/alachaum/mno-enterprise/subscription","commits_url":"https://api.github.com/repos/alachaum/mno-enterprise/commits{/sha}","git_commits_url":"https://api.github.com/repos/alachaum/mno-enterprise/git/commits{/sha}","comments_url":"https://api.github.com/repos/alachaum/mno-enterprise/comments{/number}","issue_comment_url":"https://api.github.com/repos/alachaum/mno-enterprise/issues/comments{/number}","contents_url":"https://api.github.com/repos/alachaum/mno-enterprise/contents/{+path}","compare_url":"https://api.github.com/repos/alachaum/mno-enterprise/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alachaum/mno-enterprise/merges","archive_url":"https://api.github.com/repos/alachaum/mno-enterprise/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alachaum/mno-enterprise/downloads","issues_url":"https://api.github.com/repos/alachaum/mno-enterprise/issues{/number}","pulls_url":"https://api.github.com/repos/alachaum/mno-enterprise/pulls{/number}","milestones_url":"https://api.github.com/repos/alachaum/mno-enterprise/milestones{/number}","notifications_url":"https://api.github.com/repos/alachaum/mno-enterprise/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alachaum/mno-enterprise/labels{/name}","releases_url":"https://api.github.com/repos/alachaum/mno-enterprise/releases{/id}","deployments_url":"https://api.github.com/repos/alachaum/mno-enterprise/deployments","created_at":"2016-04-05T07:13:21Z","updated_at":"2016-04-05T07:13:22Z","pushed_at":"2018-08-26T02:29:49Z","git_url":"git://github.com/alachaum/mno-enterprise.git","ssh_url":"git@github.com:alachaum/mno-enterprise.git","clone_url":"https://github.com/alachaum/mno-enterprise.git","svn_url":"https://github.com/alachaum/mno-enterprise","homepage":null,"size":5142,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"maestrano:5.0","ref":"5.0","sha":"8558bfe5a3364181c4a0593c006f2c04fdad88e6","user":{"login":"maestrano","id":6322021,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYzMjIwMjE=","avatar_url":"https://avatars3.githubusercontent.com/u/6322021?v=4","gravatar_id":"","url":"https://api.github.com/users/maestrano","html_url":"https://github.com/maestrano","followers_url":"https://api.github.com/users/maestrano/followers","following_url":"https://api.github.com/users/maestrano/following{/other_user}","gists_url":"https://api.github.com/users/maestrano/gists{/gist_id}","starred_url":"https://api.github.com/users/maestrano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maestrano/subscriptions","organizations_url":"https://api.github.com/users/maestrano/orgs","repos_url":"https://api.github.com/users/maestrano/repos","events_url":"https://api.github.com/users/maestrano/events{/privacy}","received_events_url":"https://api.github.com/users/maestrano/received_events","type":"Organization","site_admin":false},"repo":{"id":54614338,"node_id":"MDEwOlJlcG9zaXRvcnk1NDYxNDMzOA==","name":"mno-enterprise","full_name":"maestrano/mno-enterprise","owner":{"login":"maestrano","id":6322021,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYzMjIwMjE=","avatar_url":"https://avatars3.githubusercontent.com/u/6322021?v=4","gravatar_id":"","url":"https://api.github.com/users/maestrano","html_url":"https://github.com/maestrano","followers_url":"https://api.github.com/users/maestrano/followers","following_url":"https://api.github.com/users/maestrano/following{/other_user}","gists_url":"https://api.github.com/users/maestrano/gists{/gist_id}","starred_url":"https://api.github.com/users/maestrano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maestrano/subscriptions","organizations_url":"https://api.github.com/users/maestrano/orgs","repos_url":"https://api.github.com/users/maestrano/repos","events_url":"https://api.github.com/users/maestrano/events{/privacy}","received_events_url":"https://api.github.com/users/maestrano/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/maestrano/mno-enterprise","description":"The Maestrano Enterprise Engine","fork":false,"url":"https://api.github.com/repos/maestrano/mno-enterprise","forks_url":"https://api.github.com/repos/maestrano/mno-enterprise/forks","keys_url":"https://api.github.com/repos/maestrano/mno-enterprise/keys{/key_id}","collaborators_url":"https://api.github.com/repos/maestrano/mno-enterprise/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/maestrano/mno-enterprise/teams","hooks_url":"https://api.github.com/repos/maestrano/mno-enterprise/hooks","issue_events_url":"https://api.github.com/repos/maestrano/mno-enterprise/issues/events{/number}","events_url":"https://api.github.com/repos/maestrano/mno-enterprise/events","assignees_url":"https://api.github.com/repos/maestrano/mno-enterprise/assignees{/user}","branches_url":"https://api.github.com/repos/maestrano/mno-enterprise/branches{/branch}","tags_url":"https://api.github.com/repos/maestrano/mno-enterprise/tags","blobs_url":"https://api.github.com/repos/maestrano/mno-enterprise/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/maestrano/mno-enterprise/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/maestrano/mno-enterprise/git/refs{/sha}","trees_url":"https://api.github.com/repos/maestrano/mno-enterprise/git/trees{/sha}","statuses_url":"https://api.github.com/repos/maestrano/mno-enterprise/statuses/{sha}","languages_url":"https://api.github.com/repos/maestrano/mno-enterprise/languages","stargazers_url":"https://api.github.com/repos/maestrano/mno-enterprise/stargazers","contributors_url":"https://api.github.com/repos/maestrano/mno-enterprise/contributors","subscribers_url":"https://api.github.com/repos/maestrano/mno-enterprise/subscribers","subscription_url":"https://api.github.com/repos/maestrano/mno-enterprise/subscription","commits_url":"https://api.github.com/repos/maestrano/mno-enterprise/commits{/sha}","git_commits_url":"https://api.github.com/repos/maestrano/mno-enterprise/git/commits{/sha}","comments_url":"https://api.github.com/repos/maestrano/mno-enterprise/comments{/number}","issue_comment_url":"https://api.github.com/repos/maestrano/mno-enterprise/issues/comments{/number}","contents_url":"https://api.github.com/repos/maestrano/mno-enterprise/contents/{+path}","compare_url":"https://api.github.com/repos/maestrano/mno-enterprise/compare/{base}...{head}","merges_url":"https://api.github.com/repos/maestrano/mno-enterprise/merges","archive_url":"https://api.github.com/repos/maestrano/mno-enterprise/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/maestrano/mno-enterprise/downloads","issues_url":"https://api.github.com/repos/maestrano/mno-enterprise/issues{/number}","pulls_url":"https://api.github.com/repos/maestrano/mno-enterprise/pulls{/number}","milestones_url":"https://api.github.com/repos/maestrano/mno-enterprise/milestones{/number}","notifications_url":"https://api.github.com/repos/maestrano/mno-enterprise/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/maestrano/mno-enterprise/labels{/name}","releases_url":"https://api.github.com/repos/maestrano/mno-enterprise/releases{/id}","deployments_url":"https://api.github.com/repos/maestrano/mno-enterprise/deployments","created_at":"2016-03-24T04:22:36Z","updated_at":"2018-05-11T07:33:29Z","pushed_at":"2018-08-26T02:32:04Z","git_url":"git://github.com/maestrano/mno-enterprise.git","ssh_url":"git@github.com:maestrano/mno-enterprise.git","clone_url":"https://github.com/maestrano/mno-enterprise.git","svn_url":"https://github.com/maestrano/mno-enterprise","homepage":"","size":6286,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":43,"mirror_url":null,"archived":false,"open_issues_count":31,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":43,"open_issues":31,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/maestrano/mno-enterprise/pulls/774"},"html":{"href":"https://github.com/maestrano/mno-enterprise/pull/774"},"issue":{"href":"https://api.github.com/repos/maestrano/mno-enterprise/issues/774"},"comments":{"href":"https://api.github.com/repos/maestrano/mno-enterprise/issues/774/comments"},"review_comments":{"href":"https://api.github.com/repos/maestrano/mno-enterprise/pulls/774/comments"},"review_comment":{"href":"https://api.github.com/repos/maestrano/mno-enterprise/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/maestrano/mno-enterprise/pulls/774/commits"},"statuses":{"href":"https://api.github.com/repos/maestrano/mno-enterprise/statuses/24d1fc5dbd2686b7ad0a88a9aa3ee75746520da3"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"ouranos"}}