Know When Users Last Logged In—Securely and Reliably
This Keymate extension captures and stores the timestamp of every successful login—enabling audit compliance, inactivity tracking, and personalized user experiences.
Track, Display, and React to User Login Timestamps
Visibility into User Activity—at a Glance
With this extension, Keycloak can:
Login Timestamp Flow
All with minimal performance overhead and full Keycloak compatibility.
Example: Capture, store, and utilize user login timestamps for enhanced security and personalization.
Key Components:
Extension Highlights
Timestamp Logging
Records lastLoginAt on every successful login
Flexible Storage
Write to Keycloak user attributes or external DB/audit system
Policy-Aware Usage
Make authorization or token enrichment decisions based on login recency
UI Display Ready
Expose last login to the user on account pages
Inactivity Tracking
Detect stale accounts or long gaps in access
Zero Template Modification
Fully SPI-based—no FreeMarker or UI hacking needed
Frequently Asked Questions
How to Use This Extension
Keep track of user activity—and act on it. Activate Keymate's Last Login Listener to gain full visibility into user engagement.