Apache 2.4 module implementing OpenID Connect Relying Party and OAuth 2.0 Resource Server functionalities.
-
Download the latest release
-
Install the package for your OS:
# Debian/Ubuntu sudo apt install ./libapache2-mod-auth-openidc*.deb # RHEL/CentOS sudo yum install mod_auth_openidc*.rpm
Example: see example configuration file.
Enable debugging:
LogLevel debug auth_openidc:trace8
The module exposes authentication information through these endpoints:
/redirect_uri?info=json
- Authentication data in JSON format/redirect_uri?info=html
- Authentication data in HTML format/redirect_uri?logout=logout_uri
- Logout endpoint
Configure which fields to expose using OIDCInfoHook
:
OIDCInfoHook iat access_token id_token userinfo session
Fields:
iat
- Token issue timestampaccess_token
- Opaque access tokenid_token
- ID token claimsuserinfo
- UserInfo endpoint claimssession
- Session metadata