{"action":"opened","number":6631,"pull_request":{"url":"https://api.github.com/repos/auth0/docs/pulls/6631","id":215284746,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE1Mjg0NzQ2","html_url":"https://github.com/auth0/docs/pull/6631","diff_url":"https://github.com/auth0/docs/pull/6631.diff","patch_url":"https://github.com/auth0/docs/pull/6631.patch","issue_url":"https://api.github.com/repos/auth0/docs/issues/6631","number":6631,"state":"open","locked":false,"title":"Quickstart NodeJS: Added note on order of commands","user":{"login":"rcocetta","id":905368,"node_id":"MDQ6VXNlcjkwNTM2OA==","avatar_url":"https://avatars0.githubusercontent.com/u/905368?v=4","gravatar_id":"","url":"https://api.github.com/users/rcocetta","html_url":"https://github.com/rcocetta","followers_url":"https://api.github.com/users/rcocetta/followers","following_url":"https://api.github.com/users/rcocetta/following{/other_user}","gists_url":"https://api.github.com/users/rcocetta/gists{/gist_id}","starred_url":"https://api.github.com/users/rcocetta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rcocetta/subscriptions","organizations_url":"https://api.github.com/users/rcocetta/orgs","repos_url":"https://api.github.com/users/rcocetta/repos","events_url":"https://api.github.com/users/rcocetta/events{/privacy}","received_events_url":"https://api.github.com/users/rcocetta/received_events","type":"User","site_admin":false},"body":"<!---\r\nNotes:\r\n- Your PR should conform to our [Contributing Guidelines](https://github.com/auth0/docs/blob/master/CONTRIBUTING.md)\r\n- If applicable, add details to the [update feed](https://github.com/auth0/docs/tree/master/updates)\r\n- Make sure your PR gets deployed to a Heroku [Review App](https://github.com/auth0/docs/blob/master/CONTRIBUTING.md#review-apps) without errors.\r\n- Please include a short description\r\n- If your PR is a work in progress title it [DO NOT MERGE]\r\n--->\r\nThis PR add a note that might save time to NodeJS devs, as they might rearrange the code in the quickstart (As you would expect in an Express app).\r\n\r\nBasically if you have `app.use(session(sess));` after the passport initialisation, your application will fail to retrieve the user. \r\nNow, there might be a bug in the library for this side effect or it might be intended behaviour, but for the scope of the Quickstart I think users should be advised.\r\n\r\n","created_at":"2018-09-13T13:34:53Z","updated_at":"2018-09-13T13:34:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":418359580,"node_id":"MDU6TGFiZWw0MTgzNTk1ODA=","url":"https://api.github.com/repos/auth0/docs/labels/quickstart","name":"quickstart","color":"5319e7","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/auth0/docs/pulls/6631/commits","review_comments_url":"https://api.github.com/repos/auth0/docs/pulls/6631/comments","review_comment_url":"https://api.github.com/repos/auth0/docs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/auth0/docs/issues/6631/comments","statuses_url":"https://api.github.com/repos/auth0/docs/statuses/5330521c6aada1194fdc6bde2617737947a5a0bb","head":{"label":"auth0:expressSessionAdvice","ref":"expressSessionAdvice","sha":"5330521c6aada1194fdc6bde2617737947a5a0bb","user":{"login":"auth0","id":2824157,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI4MjQxNTc=","avatar_url":"https://avatars1.githubusercontent.com/u/2824157?v=4","gravatar_id":"","url":"https://api.github.com/users/auth0","html_url":"https://github.com/auth0","followers_url":"https://api.github.com/users/auth0/followers","following_url":"https://api.github.com/users/auth0/following{/other_user}","gists_url":"https://api.github.com/users/auth0/gists{/gist_id}","starred_url":"https://api.github.com/users/auth0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/auth0/subscriptions","organizations_url":"https://api.github.com/users/auth0/orgs","repos_url":"https://api.github.com/users/auth0/repos","events_url":"https://api.github.com/users/auth0/events{/privacy}","received_events_url":"https://api.github.com/users/auth0/received_events","type":"Organization","site_admin":false},"repo":{"id":33872272,"node_id":"MDEwOlJlcG9zaXRvcnkzMzg3MjI3Mg==","name":"docs","full_name":"auth0/docs","owner":{"login":"auth0","id":2824157,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI4MjQxNTc=","avatar_url":"https://avatars1.githubusercontent.com/u/2824157?v=4","gravatar_id":"","url":"https://api.github.com/users/auth0","html_url":"https://github.com/auth0","followers_url":"https://api.github.com/users/auth0/followers","following_url":"https://api.github.com/users/auth0/following{/other_user}","gists_url":"https://api.github.com/users/auth0/gists{/gist_id}","starred_url":"https://api.github.com/users/auth0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/auth0/subscriptions","organizations_url":"https://api.github.com/users/auth0/orgs","repos_url":"https://api.github.com/users/auth0/repos","events_url":"https://api.github.com/users/auth0/events{/privacy}","received_events_url":"https://api.github.com/users/auth0/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/auth0/docs","description":"Auth0 documentation","fork":false,"url":"https://api.github.com/repos/auth0/docs","forks_url":"https://api.github.com/repos/auth0/docs/forks","keys_url":"https://api.github.com/repos/auth0/docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/auth0/docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/auth0/docs/teams","hooks_url":"https://api.github.com/repos/auth0/docs/hooks","issue_events_url":"https://api.github.com/repos/auth0/docs/issues/events{/number}","events_url":"https://api.github.com/repos/auth0/docs/events","assignees_url":"https://api.github.com/repos/auth0/docs/assignees{/user}","branches_url":"https://api.github.com/repos/auth0/docs/branches{/branch}","tags_url":"https://api.github.com/repos/auth0/docs/tags","blobs_url":"https://api.github.com/repos/auth0/docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/auth0/docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/auth0/docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/auth0/docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/auth0/docs/statuses/{sha}","languages_url":"https://api.github.com/repos/auth0/docs/languages","stargazers_url":"https://api.github.com/repos/auth0/docs/stargazers","contributors_url":"https://api.github.com/repos/auth0/docs/contributors","subscribers_url":"https://api.github.com/repos/auth0/docs/subscribers","subscription_url":"https://api.github.com/repos/auth0/docs/subscription","commits_url":"https://api.github.com/repos/auth0/docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/auth0/docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/auth0/docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/auth0/docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/auth0/docs/contents/{+path}","compare_url":"https://api.github.com/repos/auth0/docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/auth0/docs/merges","archive_url":"https://api.github.com/repos/auth0/docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/auth0/docs/downloads","issues_url":"https://api.github.com/repos/auth0/docs/issues{/number}","pulls_url":"https://api.github.com/repos/auth0/docs/pulls{/number}","milestones_url":"https://api.github.com/repos/auth0/docs/milestones{/number}","notifications_url":"https://api.github.com/repos/auth0/docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/auth0/docs/labels{/name}","releases_url":"https://api.github.com/repos/auth0/docs/releases{/id}","deployments_url":"https://api.github.com/repos/auth0/docs/deployments","created_at":"2015-04-13T14:09:26Z","updated_at":"2018-09-13T01:04:25Z","pushed_at":"2018-09-13T13:31:31Z","git_url":"git://github.com/auth0/docs.git","ssh_url":"git@github.com:auth0/docs.git","clone_url":"https://github.com/auth0/docs.git","svn_url":"https://github.com/auth0/docs","homepage":null,"size":449115,"stargazers_count":135,"watchers_count":135,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":889,"mirror_url":null,"archived":false,"open_issues_count":178,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":889,"open_issues":178,"watchers":135,"default_branch":"master"}},"base":{"label":"auth0:master","ref":"master","sha":"fa9f1917982088307fe47db6c4af1093f3b68198","user":{"login":"auth0","id":2824157,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI4MjQxNTc=","avatar_url":"https://avatars1.githubusercontent.com/u/2824157?v=4","gravatar_id":"","url":"https://api.github.com/users/auth0","html_url":"https://github.com/auth0","followers_url":"https://api.github.com/users/auth0/followers","following_url":"https://api.github.com/users/auth0/following{/other_user}","gists_url":"https://api.github.com/users/auth0/gists{/gist_id}","starred_url":"https://api.github.com/users/auth0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/auth0/subscriptions","organizations_url":"https://api.github.com/users/auth0/orgs","repos_url":"https://api.github.com/users/auth0/repos","events_url":"https://api.github.com/users/auth0/events{/privacy}","received_events_url":"https://api.github.com/users/auth0/received_events","type":"Organization","site_admin":false},"repo":{"id":33872272,"node_id":"MDEwOlJlcG9zaXRvcnkzMzg3MjI3Mg==","name":"docs","full_name":"auth0/docs","owner":{"login":"auth0","id":2824157,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI4MjQxNTc=","avatar_url":"https://avatars1.githubusercontent.com/u/2824157?v=4","gravatar_id":"","url":"https://api.github.com/users/auth0","html_url":"https://github.com/auth0","followers_url":"https://api.github.com/users/auth0/followers","following_url":"https://api.github.com/users/auth0/following{/other_user}","gists_url":"https://api.github.com/users/auth0/gists{/gist_id}","starred_url":"https://api.github.com/users/auth0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/auth0/subscriptions","organizations_url":"https://api.github.com/users/auth0/orgs","repos_url":"https://api.github.com/users/auth0/repos","events_url":"https://api.github.com/users/auth0/events{/privacy}","received_events_url":"https://api.github.com/users/auth0/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/auth0/docs","description":"Auth0 documentation","fork":false,"url":"https://api.github.com/repos/auth0/docs","forks_url":"https://api.github.com/repos/auth0/docs/forks","keys_url":"https://api.github.com/repos/auth0/docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/auth0/docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/auth0/docs/teams","hooks_url":"https://api.github.com/repos/auth0/docs/hooks","issue_events_url":"https://api.github.com/repos/auth0/docs/issues/events{/number}","events_url":"https://api.github.com/repos/auth0/docs/events","assignees_url":"https://api.github.com/repos/auth0/docs/assignees{/user}","branches_url":"https://api.github.com/repos/auth0/docs/branches{/branch}","tags_url":"https://api.github.com/repos/auth0/docs/tags","blobs_url":"https://api.github.com/repos/auth0/docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/auth0/docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/auth0/docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/auth0/docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/auth0/docs/statuses/{sha}","languages_url":"https://api.github.com/repos/auth0/docs/languages","stargazers_url":"https://api.github.com/repos/auth0/docs/stargazers","contributors_url":"https://api.github.com/repos/auth0/docs/contributors","subscribers_url":"https://api.github.com/repos/auth0/docs/subscribers","subscription_url":"https://api.github.com/repos/auth0/docs/subscription","commits_url":"https://api.github.com/repos/auth0/docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/auth0/docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/auth0/docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/auth0/docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/auth0/docs/contents/{+path}","compare_url":"https://api.github.com/repos/auth0/docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/auth0/docs/merges","archive_url":"https://api.github.com/repos/auth0/docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/auth0/docs/downloads","issues_url":"https://api.github.com/repos/auth0/docs/issues{/number}","pulls_url":"https://api.github.com/repos/auth0/docs/pulls{/number}","milestones_url":"https://api.github.com/repos/auth0/docs/milestones{/number}","notifications_url":"https://api.github.com/repos/auth0/docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/auth0/docs/labels{/name}","releases_url":"https://api.github.com/repos/auth0/docs/releases{/id}","deployments_url":"https://api.github.com/repos/auth0/docs/deployments","created_at":"2015-04-13T14:09:26Z","updated_at":"2018-09-13T01:04:25Z","pushed_at":"2018-09-13T13:31:31Z","git_url":"git://github.com/auth0/docs.git","ssh_url":"git@github.com:auth0/docs.git","clone_url":"https://github.com/auth0/docs.git","svn_url":"https://github.com/auth0/docs","homepage":null,"size":449115,"stargazers_count":135,"watchers_count":135,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":889,"mirror_url":null,"archived":false,"open_issues_count":178,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":889,"open_issues":178,"watchers":135,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/auth0/docs/pulls/6631"},"html":{"href":"https://github.com/auth0/docs/pull/6631"},"issue":{"href":"https://api.github.com/repos/auth0/docs/issues/6631"},"comments":{"href":"https://api.github.com/repos/auth0/docs/issues/6631/comments"},"review_comments":{"href":"https://api.github.com/repos/auth0/docs/pulls/6631/comments"},"review_comment":{"href":"https://api.github.com/repos/auth0/docs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/auth0/docs/pulls/6631/commits"},"statuses":{"href":"https://api.github.com/repos/auth0/docs/statuses/5330521c6aada1194fdc6bde2617737947a5a0bb"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":1,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"rcocetta"}}