{"action":"created","comment":{"url":"https://api.github.com/repos/ColdTrick/simplesaml/pulls/comments/77149878","id":77149878,"diff_hunk":"@@ -50,6 +50,19 @@\n \t$body .= elgg_format_element('div', [], $external_id);\n }\n \n+$force_authentication = $plugin->getSetting('force_authentication');\n+if ($force_authentication == $source_id) {","path":"views/default/simplesaml/settings/service_provider_advanced.php","position":5,"original_position":5,"commit_id":"ea4ff8d68cd6f5ba4835b8fdbf086614a3330e4e","original_commit_id":"ea4ff8d68cd6f5ba4835b8fdbf086614a3330e4e","user":{"login":"jdalsem","id":861833,"avatar_url":"https://avatars.githubusercontent.com/u/861833?v=3","gravatar_id":"","url":"https://api.github.com/users/jdalsem","html_url":"https://github.com/jdalsem","followers_url":"https://api.github.com/users/jdalsem/followers","following_url":"https://api.github.com/users/jdalsem/following{/other_user}","gists_url":"https://api.github.com/users/jdalsem/gists{/gist_id}","starred_url":"https://api.github.com/users/jdalsem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdalsem/subscriptions","organizations_url":"https://api.github.com/users/jdalsem/orgs","repos_url":"https://api.github.com/users/jdalsem/repos","events_url":"https://api.github.com/users/jdalsem/events{/privacy}","received_events_url":"https://api.github.com/users/jdalsem/received_events","type":"User","site_admin":false},"body":"This means you only see this feature after you save the settings first... not a very big issue","created_at":"2016-09-01T10:29:26Z","updated_at":"2016-09-01T10:29:26Z","html_url":"https://github.com/ColdTrick/simplesaml/pull/17#discussion_r77149878","pull_request_url":"https://api.github.com/repos/ColdTrick/simplesaml/pulls/17","_links":{"self":{"href":"https://api.github.com/repos/ColdTrick/simplesaml/pulls/comments/77149878"},"html":{"href":"https://github.com/ColdTrick/simplesaml/pull/17#discussion_r77149878"},"pull_request":{"href":"https://api.github.com/repos/ColdTrick/simplesaml/pulls/17"}}},"pull_request":{"url":"https://api.github.com/repos/ColdTrick/simplesaml/pulls/17","id":82692669,"html_url":"https://github.com/ColdTrick/simplesaml/pull/17","diff_url":"https://github.com/ColdTrick/simplesaml/pull/17.diff","patch_url":"https://github.com/ColdTrick/simplesaml/pull/17.patch","issue_url":"https://api.github.com/repos/ColdTrick/simplesaml/issues/17","number":17,"state":"open","locked":false,"title":"Implement force authentication for specific CIRDs","user":{"login":"Wouter0100","id":864520,"avatar_url":"https://avatars.githubusercontent.com/u/864520?v=3","gravatar_id":"","url":"https://api.github.com/users/Wouter0100","html_url":"https://github.com/Wouter0100","followers_url":"https://api.github.com/users/Wouter0100/followers","following_url":"https://api.github.com/users/Wouter0100/following{/other_user}","gists_url":"https://api.github.com/users/Wouter0100/gists{/gist_id}","starred_url":"https://api.github.com/users/Wouter0100/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wouter0100/subscriptions","organizations_url":"https://api.github.com/users/Wouter0100/orgs","repos_url":"https://api.github.com/users/Wouter0100/repos","events_url":"https://api.github.com/users/Wouter0100/events{/privacy}","received_events_url":"https://api.github.com/users/Wouter0100/received_events","type":"User","site_admin":false},"body":"Is useful for intranet, where SSO is forced and outside the network\r\nisn't. Outside the network users should be able to login with something\r\nlike ldap_auth to authenticate against there SSO account through Elgg.","created_at":"2016-08-25T10:13:19Z","updated_at":"2016-09-01T10:29:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b974a620e5b5b8e1f01eb6359e3eb9e92deb9aac","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/ColdTrick/simplesaml/pulls/17/commits","review_comments_url":"https://api.github.com/repos/ColdTrick/simplesaml/pulls/17/comments","review_comment_url":"https://api.github.com/repos/ColdTrick/simplesaml/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ColdTrick/simplesaml/issues/17/comments","statuses_url":"https://api.github.com/repos/ColdTrick/simplesaml/statuses/ea4ff8d68cd6f5ba4835b8fdbf086614a3330e4e","head":{"label":"Wouter0100:feature_cidr_force_auth","ref":"feature_cidr_force_auth","sha":"ea4ff8d68cd6f5ba4835b8fdbf086614a3330e4e","user":{"login":"Wouter0100","id":864520,"avatar_url":"https://avatars.githubusercontent.com/u/864520?v=3","gravatar_id":"","url":"https://api.github.com/users/Wouter0100","html_url":"https://github.com/Wouter0100","followers_url":"https://api.github.com/users/Wouter0100/followers","following_url":"https://api.github.com/users/Wouter0100/following{/other_user}","gists_url":"https://api.github.com/users/Wouter0100/gists{/gist_id}","starred_url":"https://api.github.com/users/Wouter0100/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wouter0100/subscriptions","organizations_url":"https://api.github.com/users/Wouter0100/orgs","repos_url":"https://api.github.com/users/Wouter0100/repos","events_url":"https://api.github.com/users/Wouter0100/events{/privacy}","received_events_url":"https://api.github.com/users/Wouter0100/received_events","type":"User","site_admin":false},"repo":{"id":66547487,"name":"simplesaml","full_name":"Wouter0100/simplesaml","owner":{"login":"Wouter0100","id":864520,"avatar_url":"https://avatars.githubusercontent.com/u/864520?v=3","gravatar_id":"","url":"https://api.github.com/users/Wouter0100","html_url":"https://github.com/Wouter0100","followers_url":"https://api.github.com/users/Wouter0100/followers","following_url":"https://api.github.com/users/Wouter0100/following{/other_user}","gists_url":"https://api.github.com/users/Wouter0100/gists{/gist_id}","starred_url":"https://api.github.com/users/Wouter0100/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wouter0100/subscriptions","organizations_url":"https://api.github.com/users/Wouter0100/orgs","repos_url":"https://api.github.com/users/Wouter0100/repos","events_url":"https://api.github.com/users/Wouter0100/events{/privacy}","received_events_url":"https://api.github.com/users/Wouter0100/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Wouter0100/simplesaml","description":"SimpleSAML integration (Service Provider & Identity Provider) for Elgg","fork":true,"url":"https://api.github.com/repos/Wouter0100/simplesaml","forks_url":"https://api.github.com/repos/Wouter0100/simplesaml/forks","keys_url":"https://api.github.com/repos/Wouter0100/simplesaml/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Wouter0100/simplesaml/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Wouter0100/simplesaml/teams","hooks_url":"https://api.github.com/repos/Wouter0100/simplesaml/hooks","issue_events_url":"https://api.github.com/repos/Wouter0100/simplesaml/issues/events{/number}","events_url":"https://api.github.com/repos/Wouter0100/simplesaml/events","assignees_url":"https://api.github.com/repos/Wouter0100/simplesaml/assignees{/user}","branches_url":"https://api.github.com/repos/Wouter0100/simplesaml/branches{/branch}","tags_url":"https://api.github.com/repos/Wouter0100/simplesaml/tags","blobs_url":"https://api.github.com/repos/Wouter0100/simplesaml/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Wouter0100/simplesaml/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Wouter0100/simplesaml/git/refs{/sha}","trees_url":"https://api.github.com/repos/Wouter0100/simplesaml/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Wouter0100/simplesaml/statuses/{sha}","languages_url":"https://api.github.com/repos/Wouter0100/simplesaml/languages","stargazers_url":"https://api.github.com/repos/Wouter0100/simplesaml/stargazers","contributors_url":"https://api.github.com/repos/Wouter0100/simplesaml/contributors","subscribers_url":"https://api.github.com/repos/Wouter0100/simplesaml/subscribers","subscription_url":"https://api.github.com/repos/Wouter0100/simplesaml/subscription","commits_url":"https://api.github.com/repos/Wouter0100/simplesaml/commits{/sha}","git_commits_url":"https://api.github.com/repos/Wouter0100/simplesaml/git/commits{/sha}","comments_url":"https://api.github.com/repos/Wouter0100/simplesaml/comments{/number}","issue_comment_url":"https://api.github.com/repos/Wouter0100/simplesaml/issues/comments{/number}","contents_url":"https://api.github.com/repos/Wouter0100/simplesaml/contents/{+path}","compare_url":"https://api.github.com/repos/Wouter0100/simplesaml/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Wouter0100/simplesaml/merges","archive_url":"https://api.github.com/repos/Wouter0100/simplesaml/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Wouter0100/simplesaml/downloads","issues_url":"https://api.github.com/repos/Wouter0100/simplesaml/issues{/number}","pulls_url":"https://api.github.com/repos/Wouter0100/simplesaml/pulls{/number}","milestones_url":"https://api.github.com/repos/Wouter0100/simplesaml/milestones{/number}","notifications_url":"https://api.github.com/repos/Wouter0100/simplesaml/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Wouter0100/simplesaml/labels{/name}","releases_url":"https://api.github.com/repos/Wouter0100/simplesaml/releases{/id}","deployments_url":"https://api.github.com/repos/Wouter0100/simplesaml/deployments","created_at":"2016-08-25T10:09:10Z","updated_at":"2016-08-25T10:09:11Z","pushed_at":"2016-08-25T10:11:37Z","git_url":"git://github.com/Wouter0100/simplesaml.git","ssh_url":"git@github.com:Wouter0100/simplesaml.git","clone_url":"https://github.com/Wouter0100/simplesaml.git","svn_url":"https://github.com/Wouter0100/simplesaml","homepage":"https://elgg.org/plugins/1939508","size":172,"stargazers_count":0,"watchers_count":0,"language":"PHP","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":"ColdTrick:master","ref":"master","sha":"9b265983dc230d0cd4d461181aa652eca3755eda","user":{"login":"ColdTrick","id":892967,"avatar_url":"https://avatars.githubusercontent.com/u/892967?v=3","gravatar_id":"","url":"https://api.github.com/users/ColdTrick","html_url":"https://github.com/ColdTrick","followers_url":"https://api.github.com/users/ColdTrick/followers","following_url":"https://api.github.com/users/ColdTrick/following{/other_user}","gists_url":"https://api.github.com/users/ColdTrick/gists{/gist_id}","starred_url":"https://api.github.com/users/ColdTrick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ColdTrick/subscriptions","organizations_url":"https://api.github.com/users/ColdTrick/orgs","repos_url":"https://api.github.com/users/ColdTrick/repos","events_url":"https://api.github.com/users/ColdTrick/events{/privacy}","received_events_url":"https://api.github.com/users/ColdTrick/received_events","type":"Organization","site_admin":false},"repo":{"id":6456788,"name":"simplesaml","full_name":"ColdTrick/simplesaml","owner":{"login":"ColdTrick","id":892967,"avatar_url":"https://avatars.githubusercontent.com/u/892967?v=3","gravatar_id":"","url":"https://api.github.com/users/ColdTrick","html_url":"https://github.com/ColdTrick","followers_url":"https://api.github.com/users/ColdTrick/followers","following_url":"https://api.github.com/users/ColdTrick/following{/other_user}","gists_url":"https://api.github.com/users/ColdTrick/gists{/gist_id}","starred_url":"https://api.github.com/users/ColdTrick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ColdTrick/subscriptions","organizations_url":"https://api.github.com/users/ColdTrick/orgs","repos_url":"https://api.github.com/users/ColdTrick/repos","events_url":"https://api.github.com/users/ColdTrick/events{/privacy}","received_events_url":"https://api.github.com/users/ColdTrick/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ColdTrick/simplesaml","description":"SimpleSAML integration (Service Provider & Identity Provider) for Elgg","fork":false,"url":"https://api.github.com/repos/ColdTrick/simplesaml","forks_url":"https://api.github.com/repos/ColdTrick/simplesaml/forks","keys_url":"https://api.github.com/repos/ColdTrick/simplesaml/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ColdTrick/simplesaml/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ColdTrick/simplesaml/teams","hooks_url":"https://api.github.com/repos/ColdTrick/simplesaml/hooks","issue_events_url":"https://api.github.com/repos/ColdTrick/simplesaml/issues/events{/number}","events_url":"https://api.github.com/repos/ColdTrick/simplesaml/events","assignees_url":"https://api.github.com/repos/ColdTrick/simplesaml/assignees{/user}","branches_url":"https://api.github.com/repos/ColdTrick/simplesaml/branches{/branch}","tags_url":"https://api.github.com/repos/ColdTrick/simplesaml/tags","blobs_url":"https://api.github.com/repos/ColdTrick/simplesaml/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ColdTrick/simplesaml/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ColdTrick/simplesaml/git/refs{/sha}","trees_url":"https://api.github.com/repos/ColdTrick/simplesaml/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ColdTrick/simplesaml/statuses/{sha}","languages_url":"https://api.github.com/repos/ColdTrick/simplesaml/languages","stargazers_url":"https://api.github.com/repos/ColdTrick/simplesaml/stargazers","contributors_url":"https://api.github.com/repos/ColdTrick/simplesaml/contributors","subscribers_url":"https://api.github.com/repos/ColdTrick/simplesaml/subscribers","subscription_url":"https://api.github.com/repos/ColdTrick/simplesaml/subscription","commits_url":"https://api.github.com/repos/ColdTrick/simplesaml/commits{/sha}","git_commits_url":"https://api.github.com/repos/ColdTrick/simplesaml/git/commits{/sha}","comments_url":"https://api.github.com/repos/ColdTrick/simplesaml/comments{/number}","issue_comment_url":"https://api.github.com/repos/ColdTrick/simplesaml/issues/comments{/number}","contents_url":"https://api.github.com/repos/ColdTrick/simplesaml/contents/{+path}","compare_url":"https://api.github.com/repos/ColdTrick/simplesaml/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ColdTrick/simplesaml/merges","archive_url":"https://api.github.com/repos/ColdTrick/simplesaml/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ColdTrick/simplesaml/downloads","issues_url":"https://api.github.com/repos/ColdTrick/simplesaml/issues{/number}","pulls_url":"https://api.github.com/repos/ColdTrick/simplesaml/pulls{/number}","milestones_url":"https://api.github.com/repos/ColdTrick/simplesaml/milestones{/number}","notifications_url":"https://api.github.com/repos/ColdTrick/simplesaml/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ColdTrick/simplesaml/labels{/name}","releases_url":"https://api.github.com/repos/ColdTrick/simplesaml/releases{/id}","deployments_url":"https://api.github.com/repos/ColdTrick/simplesaml/deployments","created_at":"2012-10-30T12:23:12Z","updated_at":"2016-04-19T14:56:58Z","pushed_at":"2016-09-01T10:17:15Z","git_url":"git://github.com/ColdTrick/simplesaml.git","ssh_url":"git@github.com:ColdTrick/simplesaml.git","clone_url":"https://github.com/ColdTrick/simplesaml.git","svn_url":"https://github.com/ColdTrick/simplesaml","homepage":"https://elgg.org/plugins/1939508","size":163,"stargazers_count":4,"watchers_count":4,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":5,"forks":5,"open_issues":5,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ColdTrick/simplesaml/pulls/17"},"html":{"href":"https://github.com/ColdTrick/simplesaml/pull/17"},"issue":{"href":"https://api.github.com/repos/ColdTrick/simplesaml/issues/17"},"comments":{"href":"https://api.github.com/repos/ColdTrick/simplesaml/issues/17/comments"},"review_comments":{"href":"https://api.github.com/repos/ColdTrick/simplesaml/pulls/17/comments"},"review_comment":{"href":"https://api.github.com/repos/ColdTrick/simplesaml/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ColdTrick/simplesaml/pulls/17/commits"},"statuses":{"href":"https://api.github.com/repos/ColdTrick/simplesaml/statuses/ea4ff8d68cd6f5ba4835b8fdbf086614a3330e4e"}}}}
{"actor":{"display_login":"jdalsem"}}