Add debug config option
This config option enables debug logging for the configured LocationMatch section in Apache.
This commit is contained in:
parent
e3c13878a7
commit
8af65a0514
@ -5,3 +5,6 @@
|
||||
.coverage
|
||||
__pycache__/
|
||||
.stestr
|
||||
*~
|
||||
\#*
|
||||
*.swp
|
||||
|
@ -1,4 +1,9 @@
|
||||
options:
|
||||
debug:
|
||||
default: False
|
||||
type: boolean
|
||||
description: |
|
||||
Enable debug logging.
|
||||
remote-id-attribute:
|
||||
default: 'HTTP_OIDC_SUB'
|
||||
type: string
|
||||
|
@ -39,6 +39,7 @@ OICDRemoteUserClaim {{ options.oidc_remote_user_claim }}
|
||||
<LocationMatch /v3/OS-FEDERATION/identity_providers/{{ options.idp_id }}/protocols/{{ options.protocol_id }}/auth>
|
||||
AuthType {{ options.auth_type }}
|
||||
Require valid-user
|
||||
{% if options.debug -%}
|
||||
LogLevel debug
|
||||
{% endif -%}
|
||||
</LocationMatch>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user