From 24c8aa0ea1658c97d8d8ece25e9103c2914d765c Mon Sep 17 00:00:00 2001 From: Hans Zandbelt Date: Fri, 3 Nov 2023 13:15:27 +0100 Subject: [PATCH] oops: OIDCPassClaimsAs fix parsing of "none" Signed-off-by: Hans Zandbelt --- src/parse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/parse.c b/src/parse.c index ed8a616e..ad04266e 100644 --- a/src/parse.c +++ b/src/parse.c @@ -1024,7 +1024,7 @@ const char* oidc_parse_pass_claims_as_encoding(apr_pool_t *pool, return rv; if (_oidc_strcmp(arg, OIDC_PASS_CLAIMS_ENCODING_NONE_STR) == 0) { - *pass_as = OIDC_PASS_APP_INFO_AS_BASE64URL; + *pass_as = OIDC_PASS_APP_INFO_AS_NONE; } else if (_oidc_strcmp(arg, OIDC_PASS_CLAIMS_ENCODING_LATIN1_STR) == 0) { *pass_as = OIDC_PASS_APP_INFO_AS_LATIN1; } else if (_oidc_strcmp(arg, OIDC_PASS_CLAIMS_ENCODING_BASE64URL_STR)