n8n/packages
Ricardo Espinoza 2177fe1d89
Some checks failed
CI: Python / Checks (push) Has been cancelled
feat(core): Add login session management
Add a per-login session registry so users can see the browsers and devices
signed in to their account and revoke individual sessions or all other
sessions from their personal settings.

Backend:
- New user_login_session entity, migration and repository, keyed by a session
  id embedded as the JWT jti claim.
- LoginSessionService owns the session lifecycle (create on login, touch on
  refresh, list, revoke, revoke-all-others) and prunes expired rows on read.
- The session check is enforced in validateToken, so every auth path
  (interactive, webhook cookie auth, dynamic credentials) rejects a revoked or
  logged-out session. Tokens issued before this change carry no jti and fall
  back to the existing checks until they expire, so no one is logged out on
  upgrade.
- Password change, email change and MFA enable/disable revoke the user's other
  sessions.
- /me/login-sessions endpoints (list, revoke one, revoke all others).

Frontend:
- Login sessions section in personal settings listing device, IP, last active
  and sign-in time, with the current session flagged and per-row revoke plus a
  revoke-all-others action.
2026-07-01 17:28:11 -04:00
..
@n8n feat(core): Add login session management 2026-07-01 17:28:11 -04:00
cli feat(core): Add login session management 2026-07-01 17:28:11 -04:00
core feat(core): Add certificate authentication option to Microsoft OAuth2 credentials (#33227) 2026-07-01 13:55:09 +00:00
extensions/insights 🚀 Release 2.29.0 (#33260) 2026-06-30 10:21:29 +03:00
frontend feat(core): Add login session management 2026-07-01 17:28:11 -04:00
node-dev chore: Fix hoisted type errors on vite configurations (#33276) 2026-07-01 13:29:48 +03:00
nodes-base fix: Make Miro OAuth2 scope field visible (#25105) 2026-07-01 15:58:04 +00:00
testing test: De-flake resource locator list options test (no-changelog) (#33368) 2026-07-01 12:16:38 +00:00
workflow feat: Capture MCP server domain in node graph telemetry (no-changelog) (#33386) 2026-07-01 14:28:35 +00:00