Installing Apache mod_auth_openidc OpenID Authentication


Purpose: I wanted to use OpenID Authentication to restrict access to a few directories on my apache server

First download the installer from github


Install the package

sudo dpkg -i libapache2-mod-auth-openidc_1.8.7-1ubuntu1.trusty.1_amd64.deb

Install Dependencies

sudo apt-get install -f

Enable the module for apache

sudo a2enmod auth_openidc

Restart Apache

service apache2 restart

Table of Contents