Feature #7131
Updated by Kyle Chong 3 months ago
Refer to: * docs/planning/modules/M01_Login_Auth.md * docs/planning/ for the overall POS+ architecture and module design * QubeBiz API repository: Qube-Apps-Solutions-Sdn-Bhd/qubebiz-api Objective Build the POS+ cashier authentication foundation for local/offline operation. The POS+ cashier must be able to authenticate users locally even when the Backend/API is unavailable, while still following the existing QubeBiz authentication and credential security approach. Before implementing the login logic, review the existing QubeBiz API login/authentication implementation to understand: * How user passwords/credentials are encrypted or hashed. * How credentials are validated. * How user information and permissions are structured. * Whether any salt, key, algorithm, token, or other authentication mechanism is involved. * What authentication information POS+ needs to synchronize and store locally for offline login. POS+ must not introduce a different password encryption/hash mechanism unless there is a confirmed architectural reason.