Это то, что модуль делает по умолчанию: он будет передавать утверждения пользователя как в переменных окружения, так и в заголовках, которые можно настроить с помощью OIDCPassClaimsAs
, как описано в: https://github.com/zmartzone/mod_auth_openidc/blob/v2.3.8/auth_openidc.conf#L668
# Define the way in which the claims and tokens are passed to the application environment:
# "none": no claims/tokens are passed
# "environment": claims/tokens are passed as environment variables
# "headers": claims/tokens are passed in headers (also useful in reverse proxy scenario's)
# "both": claims/tokens are passed as both headers as well as environment variables (default)
# When not defined the default is "both"
# The access token is passed in OIDC_access_token; the access token expiry is passed in OIDC_access_token_expires.
# The refresh token is only passed in OIDC_refresh_token if enabled for that specific directory/location (see: OIDCPassRefreshToken)
#OIDCPassClaimsAs [none|headers|environment|both]
Обратите внимание, чтоэти заголовки добавляются к внутреннему HTTP-запросу, который передается в приложение, поэтому вы не увидите их в браузере.