ReferenceAPI Reference
Authentication & Authorization
Authentication & Authorization
Authentication Methods
ObjectQL supports multiple authentication strategies:
1. JWT Tokens (Recommended)
2. API Keys
3. Session Cookies
4. User Context in Request (Development Only)
For testing and development, you can pass user context directly in the request:
⚠️ Warning: In production, always authenticate via headers, not request body.
Permission System
ObjectQL enforces permissions at multiple levels:
- Object-Level: Can the user access this object at all?
- Operation-Level: Can they perform this operation (read/create/update/delete)?
- Field-Level: Which fields can they see/edit?
- Record-Level: Which specific records can they access?
Permission Check Flow:
Example Permission Config: