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


changeset on openid auth schemas

openid auth properties

Introduction : The Apache OpenID Module

AuthType OpenID
require valid-user

AuthOpenIDTrusted ^
AuthOpenIDAXRequire email [email protected]
AuthOpenIDAXUsername email


openid explained


Using Mod_auth_openid With 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
  Installed: 0.6-0ubuntu1
  Candidate: 0.6-0ubuntu1

Using Apache2’s mod_auth_openid…

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


<location "/">
    LoadModule authopenid_module /usr/lib/apache2/modules/
    AuthType OpenID
    require valid-user

    AuthOpenIDTrusted ^
    AuthOpenIDAXRequire email @yourgoogleappsdomain\.com
    AuthOpenIDAXUsername email
    AuthOpenIDSecureCookie Off  # off for now

Using Apache2’s mod_auth_openid…

Ubuntu, install doesn’t 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 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 *