You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FOCA 0.18 accepts trusted issuers as maps with their own settings (issuer, namespace, audience, claim_groups, userinfo_claims), not only as URLs. The Helm chart's security check (protes.checkSecurity in deployment/templates/_helpers.tpl) refuses every entry of config.security.auth.issuers that isn't a string. It also requires a global claim_groups whenever groups are mapped, while FOCA also accepts per-issuer claim_groups.
This leaves chart users without the remedy that the upgrade notes give for several trusted issuers: listing the previously trusted issuer with namespace: "", so that stored owners with bare subjects keep their tasks (#331).
Proposal
Accept issuer maps whose issuer is a non-empty string without surrounding whitespace, as FOCA does.
Let an issuer's claim_groups satisfy the chart's group-claim check, as FOCA's check does.
Add chart tests and update the chart README.
Cloud Registry has the same gap; follow its solution if it lands first.
Acceptance criteria
The chart renders with issuer maps, and fails on invalid ones.
Activity