{"action":"closed","number":9,"pull_request":{"url":"https://api.github.com/repos/openidconnect/openidconnect-playground/pulls/9","id":80519367,"html_url":"https://github.com/openidconnect/openidconnect-playground/pull/9","diff_url":"https://github.com/openidconnect/openidconnect-playground/pull/9.diff","patch_url":"https://github.com/openidconnect/openidconnect-playground/pull/9.patch","issue_url":"https://api.github.com/repos/openidconnect/openidconnect-playground/issues/9","number":9,"state":"closed","locked":false,"title":"Make express-session cookie secure","user":{"login":"alejofernandez","id":1288192,"avatar_url":"https://avatars.githubusercontent.com/u/1288192?v=3","gravatar_id":"","url":"https://api.github.com/users/alejofernandez","html_url":"https://github.com/alejofernandez","followers_url":"https://api.github.com/users/alejofernandez/followers","following_url":"https://api.github.com/users/alejofernandez/following{/other_user}","gists_url":"https://api.github.com/users/alejofernandez/gists{/gist_id}","starred_url":"https://api.github.com/users/alejofernandez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alejofernandez/subscriptions","organizations_url":"https://api.github.com/users/alejofernandez/orgs","repos_url":"https://api.github.com/users/alejofernandez/repos","events_url":"https://api.github.com/users/alejofernandez/events{/privacy}","received_events_url":"https://api.github.com/users/alejofernandez/received_events","type":"User","site_admin":false},"body":"Added `x-forwarded-proto` because we need to trust the SSL endpoint that it proxying our requests\r\n```\r\n$ curl --header \"x-forwarded-proto: https\" http://localhost:5000/callback\\?code\\=123 -IL\r\nHTTP/1.1 302 Found\r\nX-Powered-By: Express\r\nLocation: /\r\nVary: Accept\r\nContent-Type: text/plain; charset=utf-8\r\nContent-Length: 23\r\nset-cookie: connect.sid=s%3An86zVKJSO-Y5iSbbdTADufBFYCQ6X2kx.H8s2zQFvN73%2Fe%2FASsUQxEWnR42SSztpeHcGXdxqSs2o; Path=/; HttpOnly; Secure\r\nDate: Mon, 08 Aug 2016 20:46:13 GMT\r\nConnection: keep-alive\r\n\r\nHTTP/1.1 200 OK\r\nX-Powered-By: Express\r\nContent-Type: text/html; charset=utf-8\r\nContent-Length: 840\r\nETag: W/\"348-vNKGDyDBj749vLhFVTt82g\"\r\nDate: Mon, 08 Aug 2016 20:46:13 GMT\r\nConnection: keep-alive\r\n```","created_at":"2016-08-08T20:49:03Z","updated_at":"2016-08-08T21:29:06Z","closed_at":"2016-08-08T21:29:06Z","merged_at":"2016-08-08T21:29:05Z","merge_commit_sha":"56f0cb326599dec0f7ab420d0b506adecf375f03","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/openidconnect/openidconnect-playground/pulls/9/commits","review_comments_url":"https://api.github.com/repos/openidconnect/openidconnect-playground/pulls/9/comments","review_comment_url":"https://api.github.com/repos/openidconnect/openidconnect-playground/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openidconnect/openidconnect-playground/issues/9/comments","statuses_url":"https://api.github.com/repos/openidconnect/openidconnect-playground/statuses/b3cdf2ca39d0333c73ab49b001f20f0b33671147","head":{"label":"alejofernandez:secure-session-cookie","ref":"secure-session-cookie","sha":"b3cdf2ca39d0333c73ab49b001f20f0b33671147","user":{"login":"alejofernandez","id":1288192,"avatar_url":"https://avatars.githubusercontent.com/u/1288192?v=3","gravatar_id":"","url":"https://api.github.com/users/alejofernandez","html_url":"https://github.com/alejofernandez","followers_url":"https://api.github.com/users/alejofernandez/followers","following_url":"https://api.github.com/users/alejofernandez/following{/other_user}","gists_url":"https://api.github.com/users/alejofernandez/gists{/gist_id}","starred_url":"https://api.github.com/users/alejofernandez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alejofernandez/subscriptions","organizations_url":"https://api.github.com/users/alejofernandez/orgs","repos_url":"https://api.github.com/users/alejofernandez/repos","events_url":"https://api.github.com/users/alejofernandez/events{/privacy}","received_events_url":"https://api.github.com/users/alejofernandez/received_events","type":"User","site_admin":false},"repo":{"id":65233062,"name":"openidconnect-playground","full_name":"alejofernandez/openidconnect-playground","owner":{"login":"alejofernandez","id":1288192,"avatar_url":"https://avatars.githubusercontent.com/u/1288192?v=3","gravatar_id":"","url":"https://api.github.com/users/alejofernandez","html_url":"https://github.com/alejofernandez","followers_url":"https://api.github.com/users/alejofernandez/followers","following_url":"https://api.github.com/users/alejofernandez/following{/other_user}","gists_url":"https://api.github.com/users/alejofernandez/gists{/gist_id}","starred_url":"https://api.github.com/users/alejofernandez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alejofernandez/subscriptions","organizations_url":"https://api.github.com/users/alejofernandez/orgs","repos_url":"https://api.github.com/users/alejofernandez/repos","events_url":"https://api.github.com/users/alejofernandez/events{/privacy}","received_events_url":"https://api.github.com/users/alejofernandez/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/alejofernandez/openidconnect-playground","description":null,"fork":true,"url":"https://api.github.com/repos/alejofernandez/openidconnect-playground","forks_url":"https://api.github.com/repos/alejofernandez/openidconnect-playground/forks","keys_url":"https://api.github.com/repos/alejofernandez/openidconnect-playground/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alejofernandez/openidconnect-playground/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alejofernandez/openidconnect-playground/teams","hooks_url":"https://api.github.com/repos/alejofernandez/openidconnect-playground/hooks","issue_events_url":"https://api.github.com/repos/alejofernandez/openidconnect-playground/issues/events{/number}","events_url":"https://api.github.com/repos/alejofernandez/openidconnect-playground/events","assignees_url":"https://api.github.com/repos/alejofernandez/openidconnect-playground/assignees{/user}","branches_url":"https://api.github.com/repos/alejofernandez/openidconnect-playground/branches{/branch}","tags_url":"https://api.github.com/repos/alejofernandez/openidconnect-playground/tags","blobs_url":"https://api.github.com/repos/alejofernandez/openidconnect-playground/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alejofernandez/openidconnect-playground/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alejofernandez/openidconnect-playground/git/refs{/sha}","trees_url":"https://api.github.com/repos/alejofernandez/openidconnect-playground/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alejofernandez/openidconnect-playground/statuses/{sha}","languages_url":"https://api.github.com/repos/alejofernandez/openidconnect-playground/languages","stargazers_url":"https://api.github.com/repos/alejofernandez/openidconnect-playground/stargazers","contributors_url":"https://api.github.com/repos/alejofernandez/openidconnect-playground/contributors","subscribers_url":"https://api.github.com/repos/alejofernandez/openidconnect-playground/subscribers","subscription_url":"https://api.github.com/repos/alejofernandez/openidconnect-playground/subscription","commits_url":"https://api.github.com/repos/alejofernandez/openidconnect-playground/commits{/sha}","git_commits_url":"https://api.github.com/repos/alejofernandez/openidconnect-playground/git/commits{/sha}","comments_url":"https://api.github.com/repos/alejofernandez/openidconnect-playground/comments{/number}","issue_comment_url":"https://api.github.com/repos/alejofernandez/openidconnect-playground/issues/comments{/number}","contents_url":"https://api.github.com/repos/alejofernandez/openidconnect-playground/contents/{+path}","compare_url":"https://api.github.com/repos/alejofernandez/openidconnect-playground/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alejofernandez/openidconnect-playground/merges","archive_url":"https://api.github.com/repos/alejofernandez/openidconnect-playground/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alejofernandez/openidconnect-playground/downloads","issues_url":"https://api.github.com/repos/alejofernandez/openidconnect-playground/issues{/number}","pulls_url":"https://api.github.com/repos/alejofernandez/openidconnect-playground/pulls{/number}","milestones_url":"https://api.github.com/repos/alejofernandez/openidconnect-playground/milestones{/number}","notifications_url":"https://api.github.com/repos/alejofernandez/openidconnect-playground/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alejofernandez/openidconnect-playground/labels{/name}","releases_url":"https://api.github.com/repos/alejofernandez/openidconnect-playground/releases{/id}","deployments_url":"https://api.github.com/repos/alejofernandez/openidconnect-playground/deployments","created_at":"2016-08-08T19:33:46Z","updated_at":"2016-08-08T19:33:47Z","pushed_at":"2016-08-08T21:28:39Z","git_url":"git://github.com/alejofernandez/openidconnect-playground.git","ssh_url":"git@github.com:alejofernandez/openidconnect-playground.git","clone_url":"https://github.com/alejofernandez/openidconnect-playground.git","svn_url":"https://github.com/alejofernandez/openidconnect-playground","homepage":null,"size":976,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"openidconnect:master","ref":"master","sha":"5d85cd4f023f6890711d3ed3afa14fadbfb5c6e9","user":{"login":"openidconnect","id":20692035,"avatar_url":"https://avatars.githubusercontent.com/u/20692035?v=3","gravatar_id":"","url":"https://api.github.com/users/openidconnect","html_url":"https://github.com/openidconnect","followers_url":"https://api.github.com/users/openidconnect/followers","following_url":"https://api.github.com/users/openidconnect/following{/other_user}","gists_url":"https://api.github.com/users/openidconnect/gists{/gist_id}","starred_url":"https://api.github.com/users/openidconnect/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openidconnect/subscriptions","organizations_url":"https://api.github.com/users/openidconnect/orgs","repos_url":"https://api.github.com/users/openidconnect/repos","events_url":"https://api.github.com/users/openidconnect/events{/privacy}","received_events_url":"https://api.github.com/users/openidconnect/received_events","type":"Organization","site_admin":false},"repo":{"id":56565099,"name":"openidconnect-playground","full_name":"openidconnect/openidconnect-playground","owner":{"login":"openidconnect","id":20692035,"avatar_url":"https://avatars.githubusercontent.com/u/20692035?v=3","gravatar_id":"","url":"https://api.github.com/users/openidconnect","html_url":"https://github.com/openidconnect","followers_url":"https://api.github.com/users/openidconnect/followers","following_url":"https://api.github.com/users/openidconnect/following{/other_user}","gists_url":"https://api.github.com/users/openidconnect/gists{/gist_id}","starred_url":"https://api.github.com/users/openidconnect/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openidconnect/subscriptions","organizations_url":"https://api.github.com/users/openidconnect/orgs","repos_url":"https://api.github.com/users/openidconnect/repos","events_url":"https://api.github.com/users/openidconnect/events{/privacy}","received_events_url":"https://api.github.com/users/openidconnect/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openidconnect/openidconnect-playground","description":"","fork":false,"url":"https://api.github.com/repos/openidconnect/openidconnect-playground","forks_url":"https://api.github.com/repos/openidconnect/openidconnect-playground/forks","keys_url":"https://api.github.com/repos/openidconnect/openidconnect-playground/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openidconnect/openidconnect-playground/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openidconnect/openidconnect-playground/teams","hooks_url":"https://api.github.com/repos/openidconnect/openidconnect-playground/hooks","issue_events_url":"https://api.github.com/repos/openidconnect/openidconnect-playground/issues/events{/number}","events_url":"https://api.github.com/repos/openidconnect/openidconnect-playground/events","assignees_url":"https://api.github.com/repos/openidconnect/openidconnect-playground/assignees{/user}","branches_url":"https://api.github.com/repos/openidconnect/openidconnect-playground/branches{/branch}","tags_url":"https://api.github.com/repos/openidconnect/openidconnect-playground/tags","blobs_url":"https://api.github.com/repos/openidconnect/openidconnect-playground/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openidconnect/openidconnect-playground/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openidconnect/openidconnect-playground/git/refs{/sha}","trees_url":"https://api.github.com/repos/openidconnect/openidconnect-playground/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openidconnect/openidconnect-playground/statuses/{sha}","languages_url":"https://api.github.com/repos/openidconnect/openidconnect-playground/languages","stargazers_url":"https://api.github.com/repos/openidconnect/openidconnect-playground/stargazers","contributors_url":"https://api.github.com/repos/openidconnect/openidconnect-playground/contributors","subscribers_url":"https://api.github.com/repos/openidconnect/openidconnect-playground/subscribers","subscription_url":"https://api.github.com/repos/openidconnect/openidconnect-playground/subscription","commits_url":"https://api.github.com/repos/openidconnect/openidconnect-playground/commits{/sha}","git_commits_url":"https://api.github.com/repos/openidconnect/openidconnect-playground/git/commits{/sha}","comments_url":"https://api.github.com/repos/openidconnect/openidconnect-playground/comments{/number}","issue_comment_url":"https://api.github.com/repos/openidconnect/openidconnect-playground/issues/comments{/number}","contents_url":"https://api.github.com/repos/openidconnect/openidconnect-playground/contents/{+path}","compare_url":"https://api.github.com/repos/openidconnect/openidconnect-playground/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openidconnect/openidconnect-playground/merges","archive_url":"https://api.github.com/repos/openidconnect/openidconnect-playground/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openidconnect/openidconnect-playground/downloads","issues_url":"https://api.github.com/repos/openidconnect/openidconnect-playground/issues{/number}","pulls_url":"https://api.github.com/repos/openidconnect/openidconnect-playground/pulls{/number}","milestones_url":"https://api.github.com/repos/openidconnect/openidconnect-playground/milestones{/number}","notifications_url":"https://api.github.com/repos/openidconnect/openidconnect-playground/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openidconnect/openidconnect-playground/labels{/name}","releases_url":"https://api.github.com/repos/openidconnect/openidconnect-playground/releases{/id}","deployments_url":"https://api.github.com/repos/openidconnect/openidconnect-playground/deployments","created_at":"2016-04-19T04:39:11Z","updated_at":"2016-07-27T23:11:31Z","pushed_at":"2016-08-08T21:29:06Z","git_url":"git://github.com/openidconnect/openidconnect-playground.git","ssh_url":"git@github.com:openidconnect/openidconnect-playground.git","clone_url":"https://github.com/openidconnect/openidconnect-playground.git","svn_url":"https://github.com/openidconnect/openidconnect-playground","homepage":null,"size":1640,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":2,"forks":3,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openidconnect/openidconnect-playground/pulls/9"},"html":{"href":"https://github.com/openidconnect/openidconnect-playground/pull/9"},"issue":{"href":"https://api.github.com/repos/openidconnect/openidconnect-playground/issues/9"},"comments":{"href":"https://api.github.com/repos/openidconnect/openidconnect-playground/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/openidconnect/openidconnect-playground/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/openidconnect/openidconnect-playground/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openidconnect/openidconnect-playground/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/openidconnect/openidconnect-playground/statuses/b3cdf2ca39d0333c73ab49b001f20f0b33671147"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"alejofernandez","id":1288192,"avatar_url":"https://avatars.githubusercontent.com/u/1288192?v=3","gravatar_id":"","url":"https://api.github.com/users/alejofernandez","html_url":"https://github.com/alejofernandez","followers_url":"https://api.github.com/users/alejofernandez/followers","following_url":"https://api.github.com/users/alejofernandez/following{/other_user}","gists_url":"https://api.github.com/users/alejofernandez/gists{/gist_id}","starred_url":"https://api.github.com/users/alejofernandez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alejofernandez/subscriptions","organizations_url":"https://api.github.com/users/alejofernandez/orgs","repos_url":"https://api.github.com/users/alejofernandez/repos","events_url":"https://api.github.com/users/alejofernandez/events{/privacy}","received_events_url":"https://api.github.com/users/alejofernandez/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":6,"deletions":4,"changed_files":1}}
{"actor":{"display_login":"alejofernandez"}}