Skip to content

Commit

Permalink
oops: OIDCPassClaimsAs fix parsing of "none"
Browse files Browse the repository at this point in the history
Signed-off-by: Hans Zandbelt <[email protected]>
  • Loading branch information
zandbelt committed Nov 3, 2023
1 parent cab5199 commit 24c8aa0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parse.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 24c8aa0

Please sign in to comment.