Live Dashboard
See who is logged in right now, from which device and where.
See who is logged in right now, from which device and where.
Terminate any session instantly. Refresh tokens are also blocked, no re-entry.
Country with flag, city, ISP, ASN, and coordinates for every session.
Flag VPN, proxy, TOR exit nodes, and datacenter IPs. Block automatically or alert.
Allow/block logins by country code (ISO 3166-1 alpha-2). Per-role rules supported.
Email or webhook notifications for suspicious events (new country, VPN, threat score).
npm install strapi-plugin-magic-sessionmanager// config/plugins.ts
export default () => ({
'magic-sessionmanager': {
enabled: true,
config: {
lastSeenRateLimit: 30000, // ms between last-seen updates
inactivityTimeout: 900000, // 15 min of inactivity marks session idle
},
},
});npm run build && npm run developOpen Admin → Sessions. You'll see the live dashboard immediately.
Magic-Sessionmanager hooks into Strapi's auth lifecycle:
lastSeen (throttled to once every 30s by default).inactivityTimeout are marked inactive; old terminated sessions are purged nightly.Traditional force-logout doesn't work if the user has a refresh token:
Admin clicks "Force logout" → User's JWT is invalidated
→ But user's app uses refresh token → gets new JWT → back in!Magic-Sessionmanager fixes this by maintaining a blocked-tokens list:
Admin clicks "Force logout" → JWT AND refresh token invalidated
→ Refresh token attempt is blocked → User must login again ✓The plugin ships with four views:
| Feature | Free | Premium | Advanced |
|---|---|---|---|
| Session tracking | ✓ | ✓ | ✓ |
| Force logout | ✓ | ✓ | ✓ |
| Refresh token blocking | ✓ | ✓ | ✓ |
| Dashboard widget | ✓ | ✓ | ✓ |
| Device / browser detection | ✓ | ✓ | ✓ |
| JWT encryption at rest | ✓ | ✓ | ✓ |
| IP geolocation + country flag | — | ✓ | ✓ |
| City / ISP / ASN | — | ✓ | ✓ |
| Coordinates (map-ready) | — | ✓ | ✓ |
| Security risk score (0–100) | — | ✓ | ✓ |
| VPN / proxy / TOR detection | — | — | ✓ |
| Datacenter IP detection | — | — | ✓ |
| Auto-blocking rules | — | — | ✓ |
| Geo-fencing (country lists) | — | — | ✓ |
| Email alerts | — | — | ✓ |
| Webhook alerts (Slack, Discord, custom) | — | — | ✓ |
| Price | $0 | $14.50/mo | $39.50/mo |
Made by Joulee Tech GmbH. Free tier · 30-day money-back guarantee on paid tiers.