🎯 Overview
CaPSE Demo is a Firebase-hosted web application that provides unified management of users, devices, applications, and licenses across multiple identity platforms. The application demonstrates enterprise-grade identity management capabilities with intelligent automation, real-time synchronization, and smart resource allocation.
Key Capabilities
- Multi-Platform Identity Management: Unified control across Google Workspace, Microsoft Entra ID, Okta, and PingOne
- ChromeOS Device Management: Complete device lifecycle management with remote commands
- Smart License Management: Dynamic O365 license assignment with automatic user rotation
- Application & Policy Control: Group-based access management for applications and security policies
- Real-time Sync & Caching: Hourly automated synchronization with Firestore caching for performance
🏗️ Architecture
Frontend (public/)
Modular Single Page Application with feature-specific modules:
- main.js: Application orchestrator and authentication state management
- account.js: Multi-platform account management and license control
- devices.js: ChromeOS device management and remote operations
- groups.js: Application and policy group management
- kiosk.js: Kiosk application deployment and OU management
- auth.js: Firebase Authentication with Google OAuth
Backend (functions/)
Microservices Architecture with specialized modules:
- accountManagement/: User account operations across all identity providers + O365 license management
- deviceManagement/: ChromeOS device control via Google Admin SDK
- groupManagement/: Google Workspace groups and policy management
- scheduledSyncs/: Automated hourly synchronization cron jobs
- manualSyncs/: On-demand sync operations for immediate updates
- cachedData/: Fast read access to Firestore cached data
- adminMetrics/: System metrics, health monitoring, and announcements management
- auditAnalytics/: BigQuery-powered Workspace audit log analytics and Chrome security monitoring
- chatbot/: AI-powered assistant using Gemini 2.5 Pro