Schero D.

Magic Session Manager

Magic Session Manager is a Strapi 5 plugin that records every sign-in through Users & Permissions as a session. Admins see who is online, end single sessions or all sessions of a user, block accounts and review sign-in history. Your app gets logout routes, a list of the user's own devices, failed-login lockout and optional country rules.

Install

npm install strapi-plugin-magic-sessionmanager
Magic Session Manager icon
Version
v4.13.0
Strapi
^5.0.0
Node.js
^22.22.2 || >=24.15.0
License
MIT, free
Released

Version, release date and ranges are read from the npm registry at build time.

Sessions dashboard with Active, Idle and Ended counts and a table of sessions
Sessions dashboard in dark mode
Session details with device, browser, IP address and location
Session analytics with devices and browsers
Session Manager configuration page

What it does

Use it when

You need to see and end the sessions of your app's users, or stop password guessing before it reaches them.

Not for

It does not manage Strapi administrator sessions.

What it needs

Strapi 5 with Users & Permissions. The homepage widget needs Strapi 5.13 or later. In production it needs a stable key for token encryption.

Questions

Does it manage Strapi admin accounts?

No. It manages end users of Users & Permissions. Strapi administrator sessions are out of scope.

Does it work with jwtManagement: 'refresh'?

Yes. Strapi issues, rotates and revokes its own sessions; the plugin adds device, IP address, location and history, and ends the native session when you end it in the admin.

Can I run it on Railway with several replicas or with pm2 in cluster mode?

Yes, with PostgreSQL or MySQL shared by all processes. No sticky sessions or Redis are needed.

Does it send my users' IP addresses anywhere?

Only if the location lookup uses ipapi.co. With a local MaxMind database, or with lookup disabled, IP addresses stay on your server.

Full documentation

Other plugins