mod_auth_openid v0.6 on Ubuntu 12.04 for AuthOpenIDAXRequire

I believe the standard version of `mod_auth_openid` that comes with Ubuntun 12.04 precise pangolin is `v0.5`

This library is also known by the name `libapache2-mod-auth-openid`

Make sure you have apxs2 installed:

###Apache Extension Tools (apxs / apxs2)
apache extension tools apt-get install
sudo apt-get install apache2-threaded-dev

I didn’t have the time to finish editing this post to my liking, so I’m just adding my notes as-are:

###mod_auth_openid v0.6 on Ubuntu 12.04 with AuthOpenIDAXRequire

sudo apt-get install apache2-threaded-dev

###AuthOpenIDAXRequire schema email

http://openid.net/schema/namePerson/prefix
http://openid.net/schema/namePerson/first
http://openid.net/schema/namePerson/last
http://openid.net/schema/namePerson/middle
http://openid.net/schema/namePerson/suffix
http://openid.net/schema/namePerson/friendly
http://openid.net/schema/person/guid
http://openid.net/schema/birthDate/birthYear
http://openid.net/schema/birthDate/birthMonth
http://openid.net/schema/birthDate/birthday
http://openid.net/schema/gender
http://openid.net/schema/language/pref
http://openid.net/schema/contact/phone/default
http://openid.net/schema/contact/phone/home
http://openid.net/schema/contact/phone/business
http://openid.net/schema/contact/phone/cell
http://openid.net/schema/contact/phone/fax
http://openid.net/schema/contact/postaladdress/home
http://openid.net/schema/contact/postaladdressadditional/home
http://openid.net/schema/contact/city/home
http://openid.net/schema/contact/state/home
http://openid.net/schema/contact/country/home
http://openid.net/schema/contact/postalcode/home
http://openid.net/schema/contact/postaladdress/business
http://openid.net/schema/contact/postaladdressadditional/business
http://openid.net/schema/contact/city/business
http://openid.net/schema/contact/state/business
http://openid.net/schema/contact/country/business
http://openid.net/schema/contact/postalcode/business
http://openid.net/schema/contact/IM/default
http://openid.net/schema/contact/IM/AIM
http://openid.net/schema/contact/IM/ICQ
http://openid.net/schema/contact/IM/MSN
http://openid.net/schema/contact/IM/Yahoo
http://openid.net/schema/contact/IM/Jabber
http://openid.net/schema/contact/IM/Skype
http://openid.net/schema/contact/internet/email
http://openid.net/schema/contact/web/default
http://openid.net/schema/contact/web/blog
http://openid.net/schema/contact/web/Linkedin
http://openid.net/schema/contact/web/Amazon
http://openid.net/schema/contact/web/Flickr
http://openid.net/schema/contact/web/Delicious
http://openid.net/schema/company/name
http://openid.net/schema/company/title
http://openid.net/schema/media/spokenname
http://openid.net/schema/media/greeting/audio
http://openid.net/schema/media/greeting/video
http://openid.net/schema/media/biography
http://openid.net/schema/media/image
http://openid.net/schema/media/image/16×16
http://openid.net/schema/media/image/32×32
http://openid.net/schema/media/image/48×48
http://openid.net/schema/media/image/64×64
http://openid.net/schema/media/image/80×80
http://openid.net/schema/media/image/128×128
http://openid.net/schema/media/image/160×120
http://openid.net/schema/media/image/320×240
http://openid.net/schema/media/image/640×480
http://openid.net/schema/media/image/120×160
http://openid.net/schema/media/image/240×320
http://openid.net/schema/media/image/480×640
http://openid.net/schema/media/image/favicon
http://openid.net/schema/timezone

via http://stackoverflow.com/questions/7403536/list-of-available-attributes-for-http-axschema-org-and-http-schemas-openid-n

###changeset on openid auth schemas

http://sourceforge.net/apps/trac/simpleid/changeset/459

###openid auth properties
http://openid.net/specs/openid-attribute-properties-list-1_0-01.html

###Introduction : The Apache OpenID Module
http://findingscience.com/mod_auth_openid/

AuthType OpenID
require valid-user

AuthOpenIDTrusted ^https://www.google.com/accounts/o8/ud
AuthOpenIDSingleIdP https://www.google.com/accounts/o8/id
AuthOpenIDAXRequire email http://openid.net/schema/contact/email [email protected]
AuthOpenIDAXUsername email

via http://mmornati.tumblr.com/post/23559005172/apache-and-mod-auth-openid-on-f16-centos

###openid explained
http://openidexplained.com/use

###myopenid
https://www.myopenid.com

Using Mod_auth_openid With Ubuntu SSO
http://rtg.in.ua/blog/2011/11/modauthopenid-and-ubuntu-sso/

sudo apt-add-repository ppa:rye/ppa
sudo apt-get update
sudo apt-get install libapache2-mod-auth-openid

apt-cache policy libapache2-mod-auth-openid
libapache2-mod-auth-openid:
Installed: 0.6-0ubuntu1
Candidate: 0.6-0ubuntu1

###Using Apache2’s mod_auth_openid…
http://hustoknow.blogspot.com/2012/05/setting-up-google-apps-single-sign-on.html

sudo apt-get install automake
sudo apt-get install autotools-dev
sudo apt-get install libtool
sudo apt-get install libtidy-dev
sudo apt-get install libcurl4-openssl-dev
sudo apt-get install libopkele-dev

./autogen.sh
./configure
make


LoadModule authopenid_module /usr/lib/apache2/modules/mod_auth_openid.so
AuthType OpenID
require valid-user

AuthOpenIDTrusted ^https://www.google.com/accounts/o8/ud
AuthOpenIDAXRequire email http://openid.net/schema/contact/email @yourgoogleappsdomain\.com
AuthOpenIDSingleIdP https://www.google.com/accounts/o8/id
AuthOpenIDAXUsername email
AuthOpenIDSecureCookie Off # off for now

###Using Apache2’s mod_auth_openid…
http://engineering.hearsaysocial.com/using-apache2s-modauthopenid

###Ubuntu, install doesn’t find apxs
http://stackoverflow.com/questions/5815638/ubuntu-install-doesnt-find-apxs
ubuntu apxs was not found
I believe that apxs is for apache 1 series. apxs2 is for apache 2 series

###Smooth Streaming Module for Apache
http://smoothstreaming.code-shop.com/trac/wiki/Mod-Smooth-Streaming-Apache
We will be using apxs2, the APache eXtenSion tool, to build and install the module for the Apache server.

Make sure you have apxs2 installed:
sudo apt-get install apache2-threaded-dev

Related Posts:

This entry was posted in Server Admin and tagged , , , , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *