Skip to main content

Sessions & Login History

Closegram tracks every active session and full login history. Users can view, manage, and remotely terminate sessions from any device.

Each property has its own checkbox marking whether that specific piece is fully implemented and functional end to end (frontend + backend) — update these yourself as work lands; this page won't overwrite them.

  • View active sessions
  • View current session details — each session on Settings → Sessions has a "View details" expander showing IP address, first-seen, and expiry (activeSessions now also selects expiresAt)
  • Revoke a single session
  • Revoke all other sessions
  • Login history — loginHistory is wired end-to-end (resolver + SessionsSettingsPage.tsx) and now renders real entries. Fixed this session: the backend manager used to return a mismatched shape (login_history instead of the schema's entries, plus wrong per-entry field names), which made the query error out and the history list render empty; it now returns the correct entries shape with real device/IP/location data per session. loginMethod/success/failureReason are still placeholder values (always 'password'/true/null) since there's no failed-login attempt log yet — see the technical reference
  • Session detail lookup by ID

Admin management of a user's sessions is a separate, admin-schema-only feature — see Admin Accounts.

See the technical reference for GraphQL schemas, routes, source file links, and per-field wiring status.