Madar
MadarمدارPersonal & Workspace Suite
Technical Documentation Portal · v1.0

Madar Suite Documentation

Architectural and operational guides for Madar Personal, Self-Hosted Workspace Server, Policy Engine, and REST/WebSocket APIs.

Technical Documentation Portal/Workspace & Identity Administration·4 min read·Updated: 2026-11-06

Device Enrollment via Signed QR Tokens

How administrators issue single-use or multi-use Ed25519-signed enrollment tokens and bind employee devices.

Cryptographic QR Enrollment Flow

Self-registration is disabled on Workspace servers. Administrators issue signed JWS enrollment tokens via POST /api/v1/admin/enrollment-tokens, encoded as madar://enroll?server=...&token=...&workspace=...&name=...

When the employee scans the QR code, the client generates a fresh Ed25519 device keypair and submits its public key to POST /api/v1/enroll. Single-use tokens are atomically consumed, and multi-use organization tokens require valid employee credentials before binding the device.