Configure bounded SSO clock tolerance [skip ci] #32

Merged
avm merged 1 commits from hotfix/sso-optional-email-dev-20260928 into dev 2026-09-28 15:20:55 +03:00
Owner

Real IAS tokens have iat 45 seconds ahead of the synchronized ECOS host. Expose SSO_CLOCK_SKEW_SECONDS with default 5 and a hard maximum of 60; invalid configuration fails startup. Main will use 60 seconds. Keep signature, issuer, target, replay and exp-iat <= 60 checks. Document the expiry-window tradeoff and stage provider route without trailing slash. 39 SSO tests passed, including ahead-of-clock acceptance and rejection outside tolerance, expired and overlong tokens. No schema migration.

Release: manually build exact merged commits, pin image digests, validate migration plan and readiness. Main deployment preserves its existing database and media. New sources stay dev-only. Automatic build/deploy skipped to avoid concurrent releases.

Focused diff reviewed for account collisions, missing email, nullable schema, local-account compatibility and unchanged authorization checks.

Real IAS tokens have iat 45 seconds ahead of the synchronized ECOS host. Expose SSO_CLOCK_SKEW_SECONDS with default 5 and a hard maximum of 60; invalid configuration fails startup. Main will use 60 seconds. Keep signature, issuer, target, replay and exp-iat <= 60 checks. Document the expiry-window tradeoff and stage provider route without trailing slash. 39 SSO tests passed, including ahead-of-clock acceptance and rejection outside tolerance, expired and overlong tokens. No schema migration. Release: manually build exact merged commits, pin image digests, validate migration plan and readiness. Main deployment preserves its existing database and media. New sources stay dev-only. Automatic build/deploy skipped to avoid concurrent releases. Focused diff reviewed for account collisions, missing email, nullable schema, local-account compatibility and unchanged authorization checks.
avm added 1 commit 2026-09-28 15:20:24 +03:00
avm merged commit 7484b3c2b6 into dev 2026-09-28 15:20:55 +03:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: avm/state-corp-backend#32