Commit Graph
13 Commits
Author SHA1 Message Date
Rod Boev 28428d3753 fix(auth): name both config forms in the allowlist warning (#6603) 2026-07-31 20:27:32 -04:00
Rod Boev 042804fd5a fix(auth): surface ambiguous OIDC allowlist scalars at startup (#6603) 2026-07-31 20:16:57 -04:00
Rod Boev a4ea848f38 fix(auth): detect all Unicode whitespace in ambiguous allowlist scalars (#6603) 2026-07-31 19:51:57 -04:00
Rod Boev ab11795aa4 fix(auth): warn on ambiguous legacy OIDC allowlist scalars (#6603) 2026-07-31 19:14:44 -04:00
c4284529b0 Release: OIDC allowlist whitespace fix (#6244, @webtecnica) (#6259)
* fix: split OIDC allowlist on commas only, preserve scope whitespace-split (#6244)

_normalize_text_list is shared with _normalize_scopes — OAuth scopes
are space-delimited per RFC 6749 §3.3. Created _normalize_allow_values
that splits on commas/newlines only, keeping multi-word group names
like 'Hermes Users' intact.

* fix(oidc): filter blank allow_values list elements + add parser-split test (gate follow-up)

The new comma/newline-only _normalize_allow_values() list-path retained empty
strings that the shared _normalize_text_list() had filtered, so a YAML
allow_values: [""] would brick an OIDC-only deployment (every callback 403s).
Filter stripped-empty collection elements. Adds a regression test asserting
allowlist multi-word preservation, comma/newline splitting, blank filtering,
and that scopes stay space-delimited (RFC 6749 §3.3).

Co-authored-by: webtecnica <webtecnica@users.noreply.github.com>

* CHANGELOG: OIDC allowlist whitespace fix (#6244)

---------

Co-authored-by: webtecnica <webtecnica@users.noreply.github.com>
Co-authored-by: nesquena-hermes <agent@nesquena-hermes>
2026-07-18 10:36:17 -07:00
Rod Boev 2ea5fe06fa fix(#3825): harden oidc endpoint and claim validation 2026-06-30 20:59:19 -04:00
Rod Boev 39fbcb493b fix(auth): harden OIDC issuer and EC token checks (#3825) 2026-06-29 22:31:45 -04:00
Rod Boev 3b26cab859 fix(auth): keep OIDC startup warnings off the optional crypto path (#3825) 2026-06-29 22:31:45 -04:00
Rod Boev f7a9c98810 fix(auth): harden OIDC key selection and startup guidance (#3825) 2026-06-29 22:28:53 -04:00
Rod Boev 7d0e86ecc5 fix(auth): require an explicit OIDC allowlist (#3825) 2026-06-29 22:28:53 -04:00
Rod Boev 1167617e74 fix(auth): harden OIDC login links and token handling (#3825) 2026-06-29 22:28:53 -04:00
Rod Boev 585fab50c2 fix(auth): keep login rendering stable while adding OIDC (#3825) 2026-06-29 22:28:53 -04:00
Rod Boev e0e10cb106 feat(auth): add native OIDC login for WebUI sessions (#3825) 2026-06-29 22:28:53 -04:00