harbor
harbor copied to clipboard
Update document for config item OIDC Group Filter
Update document for config item OIDC Group Filter
@stonezdj I am actually looking for this configuration option. How can I set a filter to only allow certain OpenID connect groups?
I am also missing this configuration option from the UI (using v2.6.2):
I found the options in the source code, https://github.com/goharbor/harbor/tree/main/src/portal/src/app/base/left-side-nav/config/auth/config-auth.component.html#L738, and it is supposed to be in between oidcClientSecret
and oidcGroupClaim
.
Also no luck with the API
curl --location --request POST '<url>/api/v2.0/configurations' \
--header 'Authorization: Basic <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"oidc_group_filter": "<group>"
}'
It will be integrated into Harbor 2.7.0, not 2.6.2