{"action":"created","comment":{"url":"https://api.github.com/repos/auth0/passport-wsfed-saml2/pulls/comments/53681960","id":53681960,"diff_hunk":"@@ -77,6 +77,21 @@ passport.use(new wsfedsaml2(\n ));\r\n ~~~\r\n \r\n+### Configure strategy for ADFS \r\n+\r\n+This example utilizes a strategy with SAMLp and RP token encryption.\r\n+\r\n+```javascript\r\n+passport.use('wsfed-saml2', new wsfedsaml2({\r\n+\t\trealm: 'urn:node:samlapp',\r\n+\t\tidentityProviderUrl: 'https://my-adfs/adfs/ls',\r\n+        thumbprint: '5D27...D27E',\r","path":"README.md","position":12,"original_position":12,"commit_id":"809801c935e4a04f8f60d6d612ada63baea28dff","original_commit_id":"809801c935e4a04f8f60d6d612ada63baea28dff","user":{"login":"siacomuzzi","id":178506,"avatar_url":"https://avatars.githubusercontent.com/u/178506?v=3","gravatar_id":"","url":"https://api.github.com/users/siacomuzzi","html_url":"https://github.com/siacomuzzi","followers_url":"https://api.github.com/users/siacomuzzi/followers","following_url":"https://api.github.com/users/siacomuzzi/following{/other_user}","gists_url":"https://api.github.com/users/siacomuzzi/gists{/gist_id}","starred_url":"https://api.github.com/users/siacomuzzi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/siacomuzzi/subscriptions","organizations_url":"https://api.github.com/users/siacomuzzi/orgs","repos_url":"https://api.github.com/users/siacomuzzi/repos","events_url":"https://api.github.com/users/siacomuzzi/events{/privacy}","received_events_url":"https://api.github.com/users/siacomuzzi/received_events","type":"User","site_admin":false},"body":"If you have access to ADFS server:\r\n1) Open ADFS admin tool\r\n2) AD FS -> Service -> Certificates\r\n3) Select `Token-signing` certificate -> View Certificate...\r\n4) Details -> Copy to File...","created_at":"2016-02-22T19:54:03Z","updated_at":"2016-02-22T19:54:03Z","html_url":"https://github.com/auth0/passport-wsfed-saml2/pull/25#discussion_r53681960","pull_request_url":"https://api.github.com/repos/auth0/passport-wsfed-saml2/pulls/25","_links":{"self":{"href":"https://api.github.com/repos/auth0/passport-wsfed-saml2/pulls/comments/53681960"},"html":{"href":"https://github.com/auth0/passport-wsfed-saml2/pull/25#discussion_r53681960"},"pull_request":{"href":"https://api.github.com/repos/auth0/passport-wsfed-saml2/pulls/25"}}},"pull_request":{"url":"https://api.github.com/repos/auth0/passport-wsfed-saml2/pulls/25","id":60110030,"html_url":"https://github.com/auth0/passport-wsfed-saml2/pull/25","diff_url":"https://github.com/auth0/passport-wsfed-saml2/pull/25.diff","patch_url":"https://github.com/auth0/passport-wsfed-saml2/pull/25.patch","issue_url":"https://api.github.com/repos/auth0/passport-wsfed-saml2/issues/25","number":25,"state":"open","locked":false,"title":"Added example of samlp and RP token encryption","user":{"login":"nzpcmad","id":1467555,"avatar_url":"https://avatars.githubusercontent.com/u/1467555?v=3","gravatar_id":"","url":"https://api.github.com/users/nzpcmad","html_url":"https://github.com/nzpcmad","followers_url":"https://api.github.com/users/nzpcmad/followers","following_url":"https://api.github.com/users/nzpcmad/following{/other_user}","gists_url":"https://api.github.com/users/nzpcmad/gists{/gist_id}","starred_url":"https://api.github.com/users/nzpcmad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nzpcmad/subscriptions","organizations_url":"https://api.github.com/users/nzpcmad/orgs","repos_url":"https://api.github.com/users/nzpcmad/repos","events_url":"https://api.github.com/users/nzpcmad/events{/privacy}","received_events_url":"https://api.github.com/users/nzpcmad/received_events","type":"User","site_admin":false},"body":"This example utilizes a strategy with SAMLp and RP token encryption.","created_at":"2016-02-21T23:40:45Z","updated_at":"2016-02-22T19:54:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bc51a32e1af9573b801958d3f60aa2ed906734db","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/auth0/passport-wsfed-saml2/pulls/25/commits","review_comments_url":"https://api.github.com/repos/auth0/passport-wsfed-saml2/pulls/25/comments","review_comment_url":"https://api.github.com/repos/auth0/passport-wsfed-saml2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/auth0/passport-wsfed-saml2/issues/25/comments","statuses_url":"https://api.github.com/repos/auth0/passport-wsfed-saml2/statuses/809801c935e4a04f8f60d6d612ada63baea28dff","head":{"label":"nzpcmad:master","ref":"master","sha":"809801c935e4a04f8f60d6d612ada63baea28dff","user":{"login":"nzpcmad","id":1467555,"avatar_url":"https://avatars.githubusercontent.com/u/1467555?v=3","gravatar_id":"","url":"https://api.github.com/users/nzpcmad","html_url":"https://github.com/nzpcmad","followers_url":"https://api.github.com/users/nzpcmad/followers","following_url":"https://api.github.com/users/nzpcmad/following{/other_user}","gists_url":"https://api.github.com/users/nzpcmad/gists{/gist_id}","starred_url":"https://api.github.com/users/nzpcmad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nzpcmad/subscriptions","organizations_url":"https://api.github.com/users/nzpcmad/orgs","repos_url":"https://api.github.com/users/nzpcmad/repos","events_url":"https://api.github.com/users/nzpcmad/events{/privacy}","received_events_url":"https://api.github.com/users/nzpcmad/received_events","type":"User","site_admin":false},"repo":{"id":52230578,"name":"passport-wsfed-saml2","full_name":"nzpcmad/passport-wsfed-saml2","owner":{"login":"nzpcmad","id":1467555,"avatar_url":"https://avatars.githubusercontent.com/u/1467555?v=3","gravatar_id":"","url":"https://api.github.com/users/nzpcmad","html_url":"https://github.com/nzpcmad","followers_url":"https://api.github.com/users/nzpcmad/followers","following_url":"https://api.github.com/users/nzpcmad/following{/other_user}","gists_url":"https://api.github.com/users/nzpcmad/gists{/gist_id}","starred_url":"https://api.github.com/users/nzpcmad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nzpcmad/subscriptions","organizations_url":"https://api.github.com/users/nzpcmad/orgs","repos_url":"https://api.github.com/users/nzpcmad/repos","events_url":"https://api.github.com/users/nzpcmad/events{/privacy}","received_events_url":"https://api.github.com/users/nzpcmad/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nzpcmad/passport-wsfed-saml2","description":"passport strategy for both WS-fed and SAML2 protocol","fork":true,"url":"https://api.github.com/repos/nzpcmad/passport-wsfed-saml2","forks_url":"https://api.github.com/repos/nzpcmad/passport-wsfed-saml2/forks","keys_url":"https://api.github.com/repos/nzpcmad/passport-wsfed-saml2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nzpcmad/passport-wsfed-saml2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nzpcmad/passport-wsfed-saml2/teams","hooks_url":"https://api.github.com/repos/nzpcmad/passport-wsfed-saml2/hooks","issue_events_url":"https://api.github.com/repos/nzpcmad/passport-wsfed-saml2/issues/events{/number}","events_url":"https://api.github.com/repos/nzpcmad/passport-wsfed-saml2/events","assignees_url":"https://api.github.com/repos/nzpcmad/passport-wsfed-saml2/assignees{/user}","branches_url":"https://api.github.com/repos/nzpcmad/passport-wsfed-saml2/branches{/branch}","tags_url":"https://api.github.com/repos/nzpcmad/passport-wsfed-saml2/tags","blobs_url":"https://api.github.com/repos/nzpcmad/passport-wsfed-saml2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nzpcmad/passport-wsfed-saml2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nzpcmad/passport-wsfed-saml2/git/refs{/sha}","trees_url":"https://api.github.com/repos/nzpcmad/passport-wsfed-saml2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nzpcmad/passport-wsfed-saml2/statuses/{sha}","languages_url":"https://api.github.com/repos/nzpcmad/passport-wsfed-saml2/languages","stargazers_url":"https://api.github.com/repos/nzpcmad/passport-wsfed-saml2/stargazers","contributors_url":"https://api.github.com/repos/nzpcmad/passport-wsfed-saml2/contributors","subscribers_url":"https://api.github.com/repos/nzpcmad/passport-wsfed-saml2/subscribers","subscription_url":"https://api.github.com/repos/nzpcmad/passport-wsfed-saml2/subscription","commits_url":"https://api.github.com/repos/nzpcmad/passport-wsfed-saml2/commits{/sha}","git_commits_url":"https://api.github.com/repos/nzpcmad/passport-wsfed-saml2/git/commits{/sha}","comments_url":"https://api.github.com/repos/nzpcmad/passport-wsfed-saml2/comments{/number}","issue_comment_url":"https://api.github.com/repos/nzpcmad/passport-wsfed-saml2/issues/comments{/number}","contents_url":"https://api.github.com/repos/nzpcmad/passport-wsfed-saml2/contents/{+path}","compare_url":"https://api.github.com/repos/nzpcmad/passport-wsfed-saml2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nzpcmad/passport-wsfed-saml2/merges","archive_url":"https://api.github.com/repos/nzpcmad/passport-wsfed-saml2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nzpcmad/passport-wsfed-saml2/downloads","issues_url":"https://api.github.com/repos/nzpcmad/passport-wsfed-saml2/issues{/number}","pulls_url":"https://api.github.com/repos/nzpcmad/passport-wsfed-saml2/pulls{/number}","milestones_url":"https://api.github.com/repos/nzpcmad/passport-wsfed-saml2/milestones{/number}","notifications_url":"https://api.github.com/repos/nzpcmad/passport-wsfed-saml2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nzpcmad/passport-wsfed-saml2/labels{/name}","releases_url":"https://api.github.com/repos/nzpcmad/passport-wsfed-saml2/releases{/id}","deployments_url":"https://api.github.com/repos/nzpcmad/passport-wsfed-saml2/deployments","created_at":"2016-02-21T22:07:38Z","updated_at":"2016-02-21T22:07:39Z","pushed_at":"2016-02-21T23:35:51Z","git_url":"git://github.com/nzpcmad/passport-wsfed-saml2.git","ssh_url":"git@github.com:nzpcmad/passport-wsfed-saml2.git","clone_url":"https://github.com/nzpcmad/passport-wsfed-saml2.git","svn_url":"https://github.com/nzpcmad/passport-wsfed-saml2","homepage":"","size":314,"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":"auth0:master","ref":"master","sha":"293ea2c168f6ab165f1c6ea40f9fb243dfac61e2","user":{"login":"auth0","id":2824157,"avatar_url":"https://avatars.githubusercontent.com/u/2824157?v=3","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":5567258,"name":"passport-wsfed-saml2","full_name":"auth0/passport-wsfed-saml2","owner":{"login":"auth0","id":2824157,"avatar_url":"https://avatars.githubusercontent.com/u/2824157?v=3","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/passport-wsfed-saml2","description":"passport strategy for both WS-fed and SAML2 protocol","fork":false,"url":"https://api.github.com/repos/auth0/passport-wsfed-saml2","forks_url":"https://api.github.com/repos/auth0/passport-wsfed-saml2/forks","keys_url":"https://api.github.com/repos/auth0/passport-wsfed-saml2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/auth0/passport-wsfed-saml2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/auth0/passport-wsfed-saml2/teams","hooks_url":"https://api.github.com/repos/auth0/passport-wsfed-saml2/hooks","issue_events_url":"https://api.github.com/repos/auth0/passport-wsfed-saml2/issues/events{/number}","events_url":"https://api.github.com/repos/auth0/passport-wsfed-saml2/events","assignees_url":"https://api.github.com/repos/auth0/passport-wsfed-saml2/assignees{/user}","branches_url":"https://api.github.com/repos/auth0/passport-wsfed-saml2/branches{/branch}","tags_url":"https://api.github.com/repos/auth0/passport-wsfed-saml2/tags","blobs_url":"https://api.github.com/repos/auth0/passport-wsfed-saml2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/auth0/passport-wsfed-saml2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/auth0/passport-wsfed-saml2/git/refs{/sha}","trees_url":"https://api.github.com/repos/auth0/passport-wsfed-saml2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/auth0/passport-wsfed-saml2/statuses/{sha}","languages_url":"https://api.github.com/repos/auth0/passport-wsfed-saml2/languages","stargazers_url":"https://api.github.com/repos/auth0/passport-wsfed-saml2/stargazers","contributors_url":"https://api.github.com/repos/auth0/passport-wsfed-saml2/contributors","subscribers_url":"https://api.github.com/repos/auth0/passport-wsfed-saml2/subscribers","subscription_url":"https://api.github.com/repos/auth0/passport-wsfed-saml2/subscription","commits_url":"https://api.github.com/repos/auth0/passport-wsfed-saml2/commits{/sha}","git_commits_url":"https://api.github.com/repos/auth0/passport-wsfed-saml2/git/commits{/sha}","comments_url":"https://api.github.com/repos/auth0/passport-wsfed-saml2/comments{/number}","issue_comment_url":"https://api.github.com/repos/auth0/passport-wsfed-saml2/issues/comments{/number}","contents_url":"https://api.github.com/repos/auth0/passport-wsfed-saml2/contents/{+path}","compare_url":"https://api.github.com/repos/auth0/passport-wsfed-saml2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/auth0/passport-wsfed-saml2/merges","archive_url":"https://api.github.com/repos/auth0/passport-wsfed-saml2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/auth0/passport-wsfed-saml2/downloads","issues_url":"https://api.github.com/repos/auth0/passport-wsfed-saml2/issues{/number}","pulls_url":"https://api.github.com/repos/auth0/passport-wsfed-saml2/pulls{/number}","milestones_url":"https://api.github.com/repos/auth0/passport-wsfed-saml2/milestones{/number}","notifications_url":"https://api.github.com/repos/auth0/passport-wsfed-saml2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/auth0/passport-wsfed-saml2/labels{/name}","releases_url":"https://api.github.com/repos/auth0/passport-wsfed-saml2/releases{/id}","deployments_url":"https://api.github.com/repos/auth0/passport-wsfed-saml2/deployments","created_at":"2012-08-27T06:00:53Z","updated_at":"2016-02-08T20:23:46Z","pushed_at":"2016-02-21T23:40:45Z","git_url":"git://github.com/auth0/passport-wsfed-saml2.git","ssh_url":"git@github.com:auth0/passport-wsfed-saml2.git","clone_url":"https://github.com/auth0/passport-wsfed-saml2.git","svn_url":"https://github.com/auth0/passport-wsfed-saml2","homepage":"","size":310,"stargazers_count":41,"watchers_count":41,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":25,"mirror_url":null,"open_issues_count":14,"forks":25,"open_issues":14,"watchers":41,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/auth0/passport-wsfed-saml2/pulls/25"},"html":{"href":"https://github.com/auth0/passport-wsfed-saml2/pull/25"},"issue":{"href":"https://api.github.com/repos/auth0/passport-wsfed-saml2/issues/25"},"comments":{"href":"https://api.github.com/repos/auth0/passport-wsfed-saml2/issues/25/comments"},"review_comments":{"href":"https://api.github.com/repos/auth0/passport-wsfed-saml2/pulls/25/comments"},"review_comment":{"href":"https://api.github.com/repos/auth0/passport-wsfed-saml2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/auth0/passport-wsfed-saml2/pulls/25/commits"},"statuses":{"href":"https://api.github.com/repos/auth0/passport-wsfed-saml2/statuses/809801c935e4a04f8f60d6d612ada63baea28dff"}}}}