Authentication Models
The Tenant portal uses the WEB chain exclusively. Authentication is JWT-based with Secure Channel (SCv2) for sensitive operations.
WEB Chain Auth
Every authenticated Tenant portal request uses:
- portal entrypoint context (
X-PORTAL-ACCESS-CODE) - Secure Channel for sensitive entry operations (login, registration, password)
- JWT for authenticated requests (
Authorization: Bearer <jwt>) X-Client-Hashfor session fingerprint binding
Typical Auth Flow
- Establish Secure Channel session
- Call login endpoint (encrypted via SCv2)
- Receive JWT access token and refresh token
- Use JWT on subsequent
WEBrequests - Refresh the token before expiry
What To Check Before Calling
- required headers are present
- whether Secure Channel is required for the endpoint
- whether portal and fingerprint context must already exist
- JWT has not expired