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 out how to log out.
Basically from the epel repo
yum install mod_auth_openid
Then protect your folder using something similar
LoadModule authopenid_module modules/mod_auth_openid.so <Location "/private/"> AuthOpenIDDBLocation /var/lib/mod_auth_openid/database.db AuthType OpenID require valid-user AuthName Testing AuthOpenIDSingleIdP https://www.google.com/accounts/o8/id AuthOpenIDAXRequire email http://openid.net/schema/contact/email [apolonio@gmail.com] </Location>
Pretty easy. But haven’t tested it in CentOS 5, works for 6
Late already, hitting some pushups and situps.