Configure bounded SSO clock tolerance [skip ci] #31
Reference in New Issue
Block a user
Delete Branch "hotfix/sso-optional-email-main-20260928"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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. 33 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.