plugin:authenvvars
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:authenvvars [2020-05-03 14:43] – [Apache: mod-authnz-ldap] physiklehrer | plugin:authenvvars [2021-09-05 10:28] (current) – physiklehrer | ||
---|---|---|---|
Line 7: | Line 7: | ||
type : action, auth | type : action, auth | ||
lastupdate : 2020-05-02 | lastupdate : 2020-05-02 | ||
- | compatible : Frusterick Manners, | + | compatible : Frusterick Manners, |
depends | depends | ||
conflicts | conflicts | ||
Line 29: | Line 29: | ||
protocol. The module places authentication and user information in OIDC_CLAIM_ environment variables. | protocol. The module places authentication and user information in OIDC_CLAIM_ environment variables. | ||
- | The goal of this plugin is to bypass the dokuwiki authentication mechanisms | + | The goal of this plugin is to bypass the dokuwiki authentication mechanisms |
environment variables for user information. Not dokuwiki ist responseable for authentication but | environment variables for user information. Not dokuwiki ist responseable for authentication but | ||
the webserver. | the webserver. | ||
Line 41: | Line 41: | ||
Install the plugin using the [[plugin: | Install the plugin using the [[plugin: | ||
+ | |||
+ | Be sure to enable authennvars by setting $conf[' | ||
===== Usage ===== | ===== Usage ===== | ||
Line 50: | Line 52: | ||
$conf[' | $conf[' | ||
$conf[' | $conf[' | ||
+ | $conf[' | ||
$conf[' | $conf[' | ||
+ | $conf[' | ||
</ | </ | ||
The correct environment variable depends on the webserver modul. Consult the webserver module documentation for the provided environment variables. | The correct environment variable depends on the webserver modul. Consult the webserver module documentation for the provided environment variables. | ||
Line 71: | Line 75: | ||
DocumentRoot / | DocumentRoot / | ||
- | AuthLDAPUrl " | + | AuthLDAPUrl " |
AuthLDAPBindDN cn=search, | AuthLDAPBindDN cn=search, | ||
AuthLDAPBindPassword secret-for-binddn | AuthLDAPBindPassword secret-for-binddn | ||
Line 84: | Line 88: | ||
$conf[' | $conf[' | ||
$conf[' | $conf[' | ||
- | $conf[' | + | $conf[' |
- | $conf[' | + | $conf[' |
+ | $conf[' | ||
+ | $conf[' | ||
</ | </ | ||
==== Apache: mod-auth-openidc ==== | ==== Apache: mod-auth-openidc ==== | ||
Line 114: | Line 120: | ||
$conf[' | $conf[' | ||
$conf[' | $conf[' | ||
+ | $conf[' | ||
$conf[' | $conf[' | ||
+ | $conf[' | ||
</ | </ | ||
===== Configuration and Settings ===== | ===== Configuration and Settings ===== | ||
Line 122: | Line 130: | ||
| '' | | '' | ||
| '' | | '' | ||
- | | '' | + | | '' |
- | | '' | + | | '' |
+ | | '' | ||
+ | | '' |
plugin/authenvvars.1588509796.txt.gz · Last modified: 2020-05-03 14:43 by physiklehrer