Repository navigation
Session timeout policy (OWASP) — what should it be? #28
unidoc-ahall
started this conversation in
Ideas
Replies: 1 comment
|
Important constraint: step-up auth must be auth-method-aware. We must not impose ISMS-local TOTP on federated users — that breaks the flow for
Principle: delegate to the IdP where one exists; never stack ISMS 2FA on top of |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Context
Session lifetime today is a single global value:
jwtLifetime()defaults to24h, overridable only via the
ISMS_JWT_LIFETIMEenv var(
internal/isms/api/jwt.go). The JWT carries an absolute expiry — there isno idle/inactivity timeout, so a token is valid for the full lifetime regardless
of activity. It is not configurable per organization.
ISMS is a governance product, so session management deserves an OWASP-informed
decision rather than a default that happened to be picked.
Questions to decide
session than a relaxed one — with a safe ceiling?
addition to (or instead of) a fixed absolute expiry. Add an idle timeout?
authentication (pairs with disabling OTP, etc.)?
Notes
Input welcome — please weigh in.
All reactions