{"id":3800,"date":"2013-12-05T23:02:28","date_gmt":"2013-12-06T06:02:28","guid":{"rendered":"http:\/\/www.apolonio.com\/blog\/?p=3800"},"modified":"2013-12-05T23:05:23","modified_gmt":"2013-12-06T06:05:23","slug":"authenticating-apache-against-google","status":"publish","type":"post","link":"https:\/\/www.apolonio.com\/blog\/?p=3800","title":{"rendered":"Authenticating Apache Against Google"},"content":{"rendered":"<p>It was extremely trivial, (relatively speaking), to get my web site authenticating against google.<\/p>\n<p>I actually want to authenticate against facebook.<\/p>\n<p>This site was extremely helpful<\/p>\n<p><a href=\"http:\/\/blog.mornati.net\/2012\/05\/22\/apache-and-mod_auth_openid-on-f16centos\/\">http:\/\/blog.mornati.net\/2012\/05\/22\/apache-and-mod_auth_openid-on-f16centos\/<\/a><\/p>\n<p>I want to post more on it, but I still did not figure out how to log out.<\/p>\n<p>Basically from the epel repo<\/p>\n<pre>yum install\u00a0mod_auth_openid<\/pre>\n<p>Then protect your folder using something similar<\/p>\n<pre>LoadModule authopenid_module modules\/mod_auth_openid.so\r\n&lt;Location \"\/private\/\"&gt;\r\nAuthOpenIDDBLocation \/var\/lib\/mod_auth_openid\/database.db\r\nAuthType OpenID\r\nrequire valid-user\r\nAuthName Testing\r\nAuthOpenIDSingleIdP https:\/\/www.google.com\/accounts\/o8\/id\r\nAuthOpenIDAXRequire email http:\/\/openid.net\/schema\/contact\/email [apolonio@gmail.com]\r\n&lt;\/Location&gt;<\/pre>\n<p>Pretty easy. \u00a0But haven&#8217;t tested it in CentOS 5, works for 6<\/p>\n<p>Late already, hitting some pushups and situps.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>It was extremely trivial, (relatively speaking), to get my web site authenticating against google. I actually want to authenticate against facebook. This site was extremely helpful http:\/\/blog.mornati.net\/2012\/05\/22\/apache-and-mod_auth_openid-on-f16centos\/ I want to post more on it, but I still did not figure &hellip; <a href=\"https:\/\/www.apolonio.com\/blog\/?p=3800\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11,3],"tags":[],"class_list":["post-3800","post","type-post","status-publish","format-standard","hentry","category-technical","category-training"],"_links":{"self":[{"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/3800","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3800"}],"version-history":[{"count":2,"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/3800\/revisions"}],"predecessor-version":[{"id":3802,"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/3800\/revisions\/3802"}],"wp:attachment":[{"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3800"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3800"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3800"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}