In this tutorial we’ll install the Debian Linux 9 (squeeze), Apache 2 with mpm-itk (to run each web as a isolated user),...
OpenID authentication with the mod_auth_openid Apache moduleÁstþór IP
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.
After a user authenticates themselves, the user’s identity will be available in the REMOTE_USER variable. A cookie named open_id_session_id is saved to maintain each user’s session.
1. Install the module
apt-get install libapache2-mod-auth-openid
2. Enable the module
3. You can now add the line below to any Directory, Location or File directive in the virtual host configuration or a .htaccess file .
Click here for more configuration options, including only allowing logins from specific OpenID providers and using a custom login page
4. Restart Apache