KamoCRM

Implement new *** session model with 64-char GUID

OtherSecurityService
Shipped
14 அக்டோபர், 2025 அன்று 2:47 AM UTC
Author
snadjafinia
Commit
c059e10

- Add KSessionService for simplified session management - *** ID is now a 64-char hex string (not encoded KToken) - Redis key format: ***<64-char-guid> - Redis value: JSON with user data (userID, memberID, rights, username, etc.) - Configurable session TTL (default 30 minutes) - OTK format: OTK<64-char-guid> -> stores *** ID - Updated /login, /validate-otk, /user-info, /logout endpoints - Session data includes usernameAlias, memberEmail, countryAbbreviation - All user data stored in Redis (no re-querying database)

All changes

Like what you see shipping?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing