Passport Architecture: Foundation as Sole Issuer
Overview
Core Principle
Foundation = Single Source of Truth (SSOT) for identity
Each Platform = Read-only cache of Foundation passport dataArchitecture
1. Foundation (aethex.foundation)
2. Client Platforms (aethex.dev, etc.)
Data Flow
User Login Flow
Profile Update Flow
Profile Read Flow
Key Rules
✅ ALLOWED Operations on aethex.dev
❌ FORBIDDEN Operations on aethex.dev
Database Schema (aethex.dev)
Sync Mechanism
Initial Sync (On Login)
Periodic Sync (Background)
Cache Expiration
Error Handling
What if Foundation is unavailable?
Validation Rules
On Every Auth Request
On Every Profile Update Request
Migration from Old Model
Migration Steps
API Endpoints Reference
Foundation APIs (Used by aethex.dev)
aethex.dev APIs (Now read-only/cache-focused)
Monitoring & Observability
Log these events
Metrics to track
Future Enhancements
Related Documentation
Last updated
