forked from OpenIDC/mod_auth_openidc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL
53 lines (38 loc) · 1.65 KB
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
If your looking for binary packages, please see:
https://github.com/pingidentity/mod_auth_openidc/wiki#8-where-can-i-get-binary-packages
and proceed with the Configuration section below.
If your platform is not supported or you want to run the latest code,
you can build from source as described below.
Installation from source
========================
You will require development headers and tools for the following
dependencies:
Apache (>=2.0)
OpenSSL (>=0.9.8) (>=1.0 for Elliptic Curve support)
Curl (>=?)
Jansson (>=2.0) (JSON parser for C)
hiredis (>=0.9.0) (Redis client for C)
pcre3 (>=?) (Regular Expressions support)
pkg-config
Configure, make and install with:
(run ./autogen.sh first if you work straight from the github source tree)
./configure --with-apxs2=/opt/apache2/bin/apxs2
make
make install
Note that, depending on your distribution, apxs2 may be named apxs.
Configuration
=============
Edit the configuration file for your web server. Depending on
your distribution, it may be named '/etc/apache/httpd.conf' or something
different.
You need to add a LoadModule directive for mod_auth_openidc. This will
look similar to this:
LoadModule auth_openidc_module /usr/lib/apache2/modules/mod_auth_openidc.so
To find the full path to mod_auth_openidc.so, you may run:
apxs2 -q LIBEXECDIR
This will print the path where Apache stores modules. mod_auth_openidc.so
will be stored in that directory.
After you have added the LoadModule directive, you must add the configuration
for mod_auth_openidc. For a quickstart doing so, see the provided samples
in the README.md file.
For an exhaustive overview of all configuration primitives, see: auth_openidc.conf