key-cape/src/internal
tegwick 911e9de969
All checks were successful
Authentication acceptance / acceptance (push) Successful in 1m38s
Authentication acceptance / provider-contract (push) Successful in 17s
Build and Publish Container Image / build-and-push (push) Successful in 53s
Don't backdate a fresh MFA to a stale kc_login cookie (INFD-IN-0005)
completeAuthorization reused an existing kc_login session's IssuedAt as
authTime whenever one existed for the same user, even at the two call
sites that had just validated an MFA token in this exact request. A
platform-root sign-in that stepped up with fresh MFA while an older
browser session cookie was still around got that older timestamp
stamped onto the new authentication, understating freshness for every
downstream binding-grade check (flex-auth's 900s review window denied
informed-decision's infd-20260927-b01 approval as a result).

Add a freshMFA parameter so only the carried-forward-assurance call
site (no MFA challenge in this request) reuses the prior session's
IssuedAt; the two call sites following a successful
MFA.ValidateMFAToken always stamp authTime to now.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>

Assistant: claude-code
Assistant-Model: sonnet
Assistant-Process: 169987@bnt-lap001
Assistant-Session: 322ef1ef-9048-4021-8570-b6d6f6347999
2026-09-27 19:03:06 +02:00
..
adapters Send the public origin on the in-cluster Authelia token request. 2026-09-27 13:32:06 +02:00
authclient Require typed issuer refusals in live registration verification 2026-09-08 16:46:02 +02:00
config Correct platform infrastructure client tenant bindings 2026-09-27 16:43:31 +02:00
domain Enforce login freshness in KeyCape instead of forwarding prompt=login (KEY-WP-0033). 2026-09-23 21:59:21 +02:00
errors feat: implement T01-T04 — Go module, canonical model, LDAP validator, error taxonomy 2026-03-13 01:27:54 +01:00
jose chore(consistency): sync KEY-WP-0019 completion [auto] 2026-09-07 09:02:05 +02:00
migration Support opt-in MFA per browser client with authoritative enrollment checks 2026-09-13 00:27:28 +02:00
server Don't backdate a fresh MFA to a stale kc_login cookie (INFD-IN-0005) 2026-09-27 19:03:06 +02:00
validator Prove the migration against live directories and fix what that surfaced 2026-09-08 00:29:34 +02:00