@@ -3887,6 +3887,25 @@ configuration::configuration()
38873887 " access tokens." ,
38883888 {.needs_restart = needs_restart::no, .visibility = visibility::user},
38893889 1h)
3890+ , oidc_group_claim_path(
3891+ *this ,
3892+ " oidc_group_claim_path" ,
3893+ " JSON path to extract groups from the JWT payload." ,
3894+ {.needs_restart = needs_restart::no, .visibility = visibility::user},
3895+ " $.groups" ,
3896+ security::oidc::validate_group_claim_path)
3897+ , nested_group_behavior(
3898+ *this ,
3899+ " nested_group_behavior" ,
3900+ " Behavior for handling nested groups when extracting groups from "
3901+ " authentication tokens. Two options are available - none and suffix. "
3902+ " With none, the group is left alone (e.g. '/group/child/grandchild'). "
3903+ " Suffix will extract the final component from the nested group (e.g. "
3904+ " '/group' -> 'group' and '/group/child/grandchild' -> 'grandchild')." ,
3905+ {.needs_restart = needs_restart::no, .visibility = visibility::user},
3906+ security::oidc::nested_group_behavior::none,
3907+ {security::oidc::nested_group_behavior::none,
3908+ security::oidc::nested_group_behavior::suffix})
38903909 , http_authentication(
38913910 *this ,
38923911 " OIDC" ,
0 commit comments