Skip to content

Commit

Permalink
change warnings about not passing unknown claims into debug messages
Browse files Browse the repository at this point in the history
see #1263; thanks @nclarkau; bump to 2.4.16.4rc1

Signed-off-by: Hans Zandbelt <[email protected]>
  • Loading branch information
zandbelt committed Sep 11, 2024
1 parent 94f832f commit ea3af87
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
09/11/2024
- change warnings about not passing unknown claim types into debug messages; see #1263; thanks @nclarkau
- bump to 2.4.16.4rc1

09/09/2024
- fix accepting custom cookie names in OIDCOAuthAcceptTokenAs cookie:<name>; see #1261; thanks @bbartke
- bump to 2.4.16.4rc0
Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
AC_INIT([mod_auth_openidc],[2.4.16.4rc0],[[email protected]])
AC_INIT([mod_auth_openidc],[2.4.16.4rc1],[[email protected]])

AC_SUBST(NAMEVER, AC_PACKAGE_TARNAME()-AC_PACKAGE_VERSION())

Expand Down
12 changes: 6 additions & 6 deletions src/util.c
Original file line number Diff line number Diff line change
Expand Up @@ -1622,10 +1622,10 @@ void oidc_util_set_app_infos(request_rec *r, json_t *j_attrs, const char *claim_
} else {

/* don't know how to handle a non-string array element */
oidc_warn(r,
"unhandled in-array JSON object type [%d] for key \"%s\" when "
"parsing claims array elements",
elem->type, s_key);
oidc_debug(r,
"unhandled in-array JSON object type [%d] for key \"%s\" when "
"parsing claims array elements",
elem->type, s_key);
}
}

Expand All @@ -1635,8 +1635,8 @@ void oidc_util_set_app_infos(request_rec *r, json_t *j_attrs, const char *claim_
} else {

/* no string and no array, so unclear how to handle this */
oidc_warn(r, "unhandled JSON object type [%d] for key \"%s\" when parsing claims",
j_value->type, s_key);
oidc_debug(r, "unhandled JSON object type [%d] for key \"%s\" when parsing claims",
j_value->type, s_key);
}

iter = json_object_iter_next(j_attrs, iter);
Expand Down

0 comments on commit ea3af87

Please sign in to comment.