From 731cdbd1c01124a91799af2ae628a4b8fc071ae8 Mon Sep 17 00:00:00 2001 From: Hans Zandbelt Date: Thu, 6 Jun 2024 14:39:07 +0200 Subject: [PATCH] fix typo: access_token -> access_token_type for passing the access token type in a header/envvar Signed-off-by: Hans Zandbelt --- src/mod_auth_openidc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mod_auth_openidc.c b/src/mod_auth_openidc.c index b7b667e0..44871062 100644 --- a/src/mod_auth_openidc.c +++ b/src/mod_auth_openidc.c @@ -801,8 +801,8 @@ apr_byte_t oidc_session_pass_tokens(request_rec *r, oidc_cfg_t *cfg, oidc_sessio const char *access_token_type = oidc_session_get_access_token_type(r, session); if ((oidc_cfg_dir_pass_access_token_get(r) != 0) && access_token_type != NULL) { /* pass it to the app in a header or environment variable */ - oidc_util_set_app_info(r, OIDC_APP_INFO_ACCESS_TOKEN_TYPE, access_token, OIDC_DEFAULT_HEADER_PREFIX, - pass_in, encoding); + oidc_util_set_app_info(r, OIDC_APP_INFO_ACCESS_TOKEN_TYPE, access_token_type, + OIDC_DEFAULT_HEADER_PREFIX, pass_in, encoding); } /* set the expiry timestamp in the app headers/variables */