Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
mod_auth_openid is an authentication module for the Apache 2 webserver. It handles the functions of an OpenID consumer as specified in the OpenID 2.0 specification.
C++ C Shell
Branch: master
Pull request Compare This branch is 3 commits ahead, 31 commits behind bmuller:master.

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
acinclude.d
.gitignore
AUTHORS
COPYING
ChangeLog
INSTALL
Makefile.am
MoidConsumer.cpp
MoidConsumer.h
NEWS
README
README.markdown
SessionManager.cpp
SessionManager.h
UPGRADE
autogen.sh
configure.ac
db_info.cpp
http_helpers.cpp
http_helpers.h
mod_auth_openid.cpp
mod_auth_openid.h
moid_utils.cpp
moid_utils.h
types.h

README.markdown

Basic Installation

First, you'll need a few prerequisites.

Next, run: ./configure or ./configure --help to see additional options that can be specified.

Next, run: make su root make install

Make sure that the file /tmp/mod_auth_openid.db is owned by the user running Apache. You can do this by (assuming www-data is the user running apache): su root touch /tmp/mod_auth_openid.db chown www-data /tmp/mod_auth_openid.db

Or you can specify an alternate location that the user running apache has write privieges on (see the docs for the AuthOpenIDDBLocation directive on the homepage).

Usage

In either a Directory, Location, or File directive in httpd.conf, place the following directive:

 AuthType          OpenID
 requre valid-user

There are also additional, optional directives. See the homepage for a list and docs.

The user's identity URL will be available in the REMOTE_USER cgi environment variable after authentication.

See the project page for more information.

Something went wrong with that request. Please try again.