{"action":"closed","number":1116,"pull_request":{"url":"https://api.github.com/repos/theforeman/theforeman.org/pulls/1116","id":195147356,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk1MTQ3MzU2","html_url":"https://github.com/theforeman/theforeman.org/pull/1116","diff_url":"https://github.com/theforeman/theforeman.org/pull/1116.diff","patch_url":"https://github.com/theforeman/theforeman.org/pull/1116.patch","issue_url":"https://api.github.com/repos/theforeman/theforeman.org/issues/1116","number":1116,"state":"closed","locked":false,"title":"blog: Using SAML for SSO to Foreman through Keycloak","user":{"login":"codificat","id":709574,"node_id":"MDQ6VXNlcjcwOTU3NA==","avatar_url":"https://avatars2.githubusercontent.com/u/709574?v=4","gravatar_id":"","url":"https://api.github.com/users/codificat","html_url":"https://github.com/codificat","followers_url":"https://api.github.com/users/codificat/followers","following_url":"https://api.github.com/users/codificat/following{/other_user}","gists_url":"https://api.github.com/users/codificat/gists{/gist_id}","starred_url":"https://api.github.com/users/codificat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codificat/subscriptions","organizations_url":"https://api.github.com/users/codificat/orgs","repos_url":"https://api.github.com/users/codificat/repos","events_url":"https://api.github.com/users/codificat/events{/privacy}","received_events_url":"https://api.github.com/users/codificat/received_events","type":"User","site_admin":false},"body":"I've recently tried to configure Foreman for SAML-based Single Sign-On, using Keycloak as the Identity Provider, and this post shows the steps needed to make this work.\r\n\r\nI also noticed a related [forum post](https://community.theforeman.org/t/foreman-support-for-saml-based-authentication-single-sign-on/8348/3) that asked for a blog post about this topic, so I hope this helps.\r\n\r\nOf course, comments and suggestions welcome, just please bear in mind it's my first contrib here.","created_at":"2018-06-15T11:25:57Z","updated_at":"2018-06-26T12:32:50Z","closed_at":"2018-06-26T12:32:50Z","merged_at":"2018-06-26T12:32:50Z","merge_commit_sha":"7c844c71b9d6b109c83cfb86e22796b513d191da","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/theforeman/theforeman.org/pulls/1116/commits","review_comments_url":"https://api.github.com/repos/theforeman/theforeman.org/pulls/1116/comments","review_comment_url":"https://api.github.com/repos/theforeman/theforeman.org/pulls/comments{/number}","comments_url":"https://api.github.com/repos/theforeman/theforeman.org/issues/1116/comments","statuses_url":"https://api.github.com/repos/theforeman/theforeman.org/statuses/fe9d985fca3e4a4dcf8778c037b70da84eef85fc","head":{"label":"codificat:blog-foreman-keycloak-saml","ref":"blog-foreman-keycloak-saml","sha":"fe9d985fca3e4a4dcf8778c037b70da84eef85fc","user":{"login":"codificat","id":709574,"node_id":"MDQ6VXNlcjcwOTU3NA==","avatar_url":"https://avatars2.githubusercontent.com/u/709574?v=4","gravatar_id":"","url":"https://api.github.com/users/codificat","html_url":"https://github.com/codificat","followers_url":"https://api.github.com/users/codificat/followers","following_url":"https://api.github.com/users/codificat/following{/other_user}","gists_url":"https://api.github.com/users/codificat/gists{/gist_id}","starred_url":"https://api.github.com/users/codificat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codificat/subscriptions","organizations_url":"https://api.github.com/users/codificat/orgs","repos_url":"https://api.github.com/users/codificat/repos","events_url":"https://api.github.com/users/codificat/events{/privacy}","received_events_url":"https://api.github.com/users/codificat/received_events","type":"User","site_admin":false},"repo":{"id":137475060,"node_id":"MDEwOlJlcG9zaXRvcnkxMzc0NzUwNjA=","name":"theforeman.org","full_name":"codificat/theforeman.org","owner":{"login":"codificat","id":709574,"node_id":"MDQ6VXNlcjcwOTU3NA==","avatar_url":"https://avatars2.githubusercontent.com/u/709574?v=4","gravatar_id":"","url":"https://api.github.com/users/codificat","html_url":"https://github.com/codificat","followers_url":"https://api.github.com/users/codificat/followers","following_url":"https://api.github.com/users/codificat/following{/other_user}","gists_url":"https://api.github.com/users/codificat/gists{/gist_id}","starred_url":"https://api.github.com/users/codificat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codificat/subscriptions","organizations_url":"https://api.github.com/users/codificat/orgs","repos_url":"https://api.github.com/users/codificat/repos","events_url":"https://api.github.com/users/codificat/events{/privacy}","received_events_url":"https://api.github.com/users/codificat/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/codificat/theforeman.org","description":"The new and improved Foreman website.","fork":true,"url":"https://api.github.com/repos/codificat/theforeman.org","forks_url":"https://api.github.com/repos/codificat/theforeman.org/forks","keys_url":"https://api.github.com/repos/codificat/theforeman.org/keys{/key_id}","collaborators_url":"https://api.github.com/repos/codificat/theforeman.org/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/codificat/theforeman.org/teams","hooks_url":"https://api.github.com/repos/codificat/theforeman.org/hooks","issue_events_url":"https://api.github.com/repos/codificat/theforeman.org/issues/events{/number}","events_url":"https://api.github.com/repos/codificat/theforeman.org/events","assignees_url":"https://api.github.com/repos/codificat/theforeman.org/assignees{/user}","branches_url":"https://api.github.com/repos/codificat/theforeman.org/branches{/branch}","tags_url":"https://api.github.com/repos/codificat/theforeman.org/tags","blobs_url":"https://api.github.com/repos/codificat/theforeman.org/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/codificat/theforeman.org/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/codificat/theforeman.org/git/refs{/sha}","trees_url":"https://api.github.com/repos/codificat/theforeman.org/git/trees{/sha}","statuses_url":"https://api.github.com/repos/codificat/theforeman.org/statuses/{sha}","languages_url":"https://api.github.com/repos/codificat/theforeman.org/languages","stargazers_url":"https://api.github.com/repos/codificat/theforeman.org/stargazers","contributors_url":"https://api.github.com/repos/codificat/theforeman.org/contributors","subscribers_url":"https://api.github.com/repos/codificat/theforeman.org/subscribers","subscription_url":"https://api.github.com/repos/codificat/theforeman.org/subscription","commits_url":"https://api.github.com/repos/codificat/theforeman.org/commits{/sha}","git_commits_url":"https://api.github.com/repos/codificat/theforeman.org/git/commits{/sha}","comments_url":"https://api.github.com/repos/codificat/theforeman.org/comments{/number}","issue_comment_url":"https://api.github.com/repos/codificat/theforeman.org/issues/comments{/number}","contents_url":"https://api.github.com/repos/codificat/theforeman.org/contents/{+path}","compare_url":"https://api.github.com/repos/codificat/theforeman.org/compare/{base}...{head}","merges_url":"https://api.github.com/repos/codificat/theforeman.org/merges","archive_url":"https://api.github.com/repos/codificat/theforeman.org/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/codificat/theforeman.org/downloads","issues_url":"https://api.github.com/repos/codificat/theforeman.org/issues{/number}","pulls_url":"https://api.github.com/repos/codificat/theforeman.org/pulls{/number}","milestones_url":"https://api.github.com/repos/codificat/theforeman.org/milestones{/number}","notifications_url":"https://api.github.com/repos/codificat/theforeman.org/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/codificat/theforeman.org/labels{/name}","releases_url":"https://api.github.com/repos/codificat/theforeman.org/releases{/id}","deployments_url":"https://api.github.com/repos/codificat/theforeman.org/deployments","created_at":"2018-06-15T10:32:30Z","updated_at":"2018-06-15T10:36:46Z","pushed_at":"2018-06-18T14:25:08Z","git_url":"git://github.com/codificat/theforeman.org.git","ssh_url":"git@github.com:codificat/theforeman.org.git","clone_url":"https://github.com/codificat/theforeman.org.git","svn_url":"https://github.com/codificat/theforeman.org","homepage":"https://theforeman.org/","size":98817,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":2,"open_issues":0,"watchers":0,"default_branch":"gh-pages"}},"base":{"label":"theforeman:gh-pages","ref":"gh-pages","sha":"5f11a48da1446ce9d60d97d33f29f2f62015ec3e","user":{"login":"theforeman","id":1439844,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0Mzk4NDQ=","avatar_url":"https://avatars2.githubusercontent.com/u/1439844?v=4","gravatar_id":"","url":"https://api.github.com/users/theforeman","html_url":"https://github.com/theforeman","followers_url":"https://api.github.com/users/theforeman/followers","following_url":"https://api.github.com/users/theforeman/following{/other_user}","gists_url":"https://api.github.com/users/theforeman/gists{/gist_id}","starred_url":"https://api.github.com/users/theforeman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theforeman/subscriptions","organizations_url":"https://api.github.com/users/theforeman/orgs","repos_url":"https://api.github.com/users/theforeman/repos","events_url":"https://api.github.com/users/theforeman/events{/privacy}","received_events_url":"https://api.github.com/users/theforeman/received_events","type":"Organization","site_admin":false},"repo":{"id":5928690,"node_id":"MDEwOlJlcG9zaXRvcnk1OTI4Njkw","name":"theforeman.org","full_name":"theforeman/theforeman.org","owner":{"login":"theforeman","id":1439844,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0Mzk4NDQ=","avatar_url":"https://avatars2.githubusercontent.com/u/1439844?v=4","gravatar_id":"","url":"https://api.github.com/users/theforeman","html_url":"https://github.com/theforeman","followers_url":"https://api.github.com/users/theforeman/followers","following_url":"https://api.github.com/users/theforeman/following{/other_user}","gists_url":"https://api.github.com/users/theforeman/gists{/gist_id}","starred_url":"https://api.github.com/users/theforeman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theforeman/subscriptions","organizations_url":"https://api.github.com/users/theforeman/orgs","repos_url":"https://api.github.com/users/theforeman/repos","events_url":"https://api.github.com/users/theforeman/events{/privacy}","received_events_url":"https://api.github.com/users/theforeman/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/theforeman/theforeman.org","description":"The new and improved Foreman website.","fork":false,"url":"https://api.github.com/repos/theforeman/theforeman.org","forks_url":"https://api.github.com/repos/theforeman/theforeman.org/forks","keys_url":"https://api.github.com/repos/theforeman/theforeman.org/keys{/key_id}","collaborators_url":"https://api.github.com/repos/theforeman/theforeman.org/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/theforeman/theforeman.org/teams","hooks_url":"https://api.github.com/repos/theforeman/theforeman.org/hooks","issue_events_url":"https://api.github.com/repos/theforeman/theforeman.org/issues/events{/number}","events_url":"https://api.github.com/repos/theforeman/theforeman.org/events","assignees_url":"https://api.github.com/repos/theforeman/theforeman.org/assignees{/user}","branches_url":"https://api.github.com/repos/theforeman/theforeman.org/branches{/branch}","tags_url":"https://api.github.com/repos/theforeman/theforeman.org/tags","blobs_url":"https://api.github.com/repos/theforeman/theforeman.org/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/theforeman/theforeman.org/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/theforeman/theforeman.org/git/refs{/sha}","trees_url":"https://api.github.com/repos/theforeman/theforeman.org/git/trees{/sha}","statuses_url":"https://api.github.com/repos/theforeman/theforeman.org/statuses/{sha}","languages_url":"https://api.github.com/repos/theforeman/theforeman.org/languages","stargazers_url":"https://api.github.com/repos/theforeman/theforeman.org/stargazers","contributors_url":"https://api.github.com/repos/theforeman/theforeman.org/contributors","subscribers_url":"https://api.github.com/repos/theforeman/theforeman.org/subscribers","subscription_url":"https://api.github.com/repos/theforeman/theforeman.org/subscription","commits_url":"https://api.github.com/repos/theforeman/theforeman.org/commits{/sha}","git_commits_url":"https://api.github.com/repos/theforeman/theforeman.org/git/commits{/sha}","comments_url":"https://api.github.com/repos/theforeman/theforeman.org/comments{/number}","issue_comment_url":"https://api.github.com/repos/theforeman/theforeman.org/issues/comments{/number}","contents_url":"https://api.github.com/repos/theforeman/theforeman.org/contents/{+path}","compare_url":"https://api.github.com/repos/theforeman/theforeman.org/compare/{base}...{head}","merges_url":"https://api.github.com/repos/theforeman/theforeman.org/merges","archive_url":"https://api.github.com/repos/theforeman/theforeman.org/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/theforeman/theforeman.org/downloads","issues_url":"https://api.github.com/repos/theforeman/theforeman.org/issues{/number}","pulls_url":"https://api.github.com/repos/theforeman/theforeman.org/pulls{/number}","milestones_url":"https://api.github.com/repos/theforeman/theforeman.org/milestones{/number}","notifications_url":"https://api.github.com/repos/theforeman/theforeman.org/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/theforeman/theforeman.org/labels{/name}","releases_url":"https://api.github.com/repos/theforeman/theforeman.org/releases{/id}","deployments_url":"https://api.github.com/repos/theforeman/theforeman.org/deployments","created_at":"2012-09-24T02:36:57Z","updated_at":"2018-06-25T20:25:56Z","pushed_at":"2018-06-26T12:32:50Z","git_url":"git://github.com/theforeman/theforeman.org.git","ssh_url":"git@github.com:theforeman/theforeman.org.git","clone_url":"https://github.com/theforeman/theforeman.org.git","svn_url":"https://github.com/theforeman/theforeman.org","homepage":"https://theforeman.org/","size":98832,"stargazers_count":87,"watchers_count":87,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":199,"mirror_url":null,"archived":false,"open_issues_count":25,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":199,"open_issues":25,"watchers":87,"default_branch":"gh-pages"}},"_links":{"self":{"href":"https://api.github.com/repos/theforeman/theforeman.org/pulls/1116"},"html":{"href":"https://github.com/theforeman/theforeman.org/pull/1116"},"issue":{"href":"https://api.github.com/repos/theforeman/theforeman.org/issues/1116"},"comments":{"href":"https://api.github.com/repos/theforeman/theforeman.org/issues/1116/comments"},"review_comments":{"href":"https://api.github.com/repos/theforeman/theforeman.org/pulls/1116/comments"},"review_comment":{"href":"https://api.github.com/repos/theforeman/theforeman.org/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/theforeman/theforeman.org/pulls/1116/commits"},"statuses":{"href":"https://api.github.com/repos/theforeman/theforeman.org/statuses/fe9d985fca3e4a4dcf8778c037b70da84eef85fc"}},"author_association":"NONE","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"GregSutcliffe","id":827786,"node_id":"MDQ6VXNlcjgyNzc4Ng==","avatar_url":"https://avatars3.githubusercontent.com/u/827786?v=4","gravatar_id":"","url":"https://api.github.com/users/GregSutcliffe","html_url":"https://github.com/GregSutcliffe","followers_url":"https://api.github.com/users/GregSutcliffe/followers","following_url":"https://api.github.com/users/GregSutcliffe/following{/other_user}","gists_url":"https://api.github.com/users/GregSutcliffe/gists{/gist_id}","starred_url":"https://api.github.com/users/GregSutcliffe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GregSutcliffe/subscriptions","organizations_url":"https://api.github.com/users/GregSutcliffe/orgs","repos_url":"https://api.github.com/users/GregSutcliffe/repos","events_url":"https://api.github.com/users/GregSutcliffe/events{/privacy}","received_events_url":"https://api.github.com/users/GregSutcliffe/received_events","type":"User","site_admin":false},"comments":3,"review_comments":2,"maintainer_can_modify":false,"commits":1,"additions":387,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"GregSutcliffe"}}