How karthikdokiparthi/ccidp_frontend works
BrightGrid CCIDP Admin is a standalone React admin console for an identity platform. Users sign in or complete signup verification, then access a role-restricted dashboard for managing users, roles, permissions, OAuth applications, sessions, audit events, system status, and their own account. The app routes these views through a protected shell; page components call a shared API layer that communicates with the sibling CCIDP service. Source-index references support several page-to-API and component-use links; unsampled page behavior is not expanded beyond documented routes and capabilities.
Main entry points: App.jsx Route coordinator · admin.js Admin API operations · AuthContext.jsx Authentication state · client.js HTTP and token handling
Components 19
Access and account
- Sign-in and signup
src/pages/SignupPage.jsx - Authentication state
src/auth/AuthContext.jsx - Account settings
src/pages/AccountPage.jsx
Identity administration
- Dashboard and system
src/pages/DashboardPage.jsx - User directory
src/pages/UsersPage.jsx - Roles and permissions
src/pages/RolesPage.jsx - OAuth applications
src/pages/ClientsPage.jsx - Sessions and audit
src/pages/SessionsPage.jsx
Navigation and interface
- Route coordinator
src/App.jsx - Protected app shell
src/layout/AppShell.jsx - Shared interface components
src/components - Overlay dismissal
src/components/useOverlayDismiss.js - Role-based destinations
src/utils/destinations.js - Display formatting
src/utils/format.js
API and session runtime
- Admin API operations
src/api/admin.js - Authentication API
src/api/auth.js - HTTP and token handling
src/api/client.js
Other components
- Console user
- CCIDP service
Connections 26
- Console user → Route coordinator: opens
src/App.jsx - Route coordinator → Sign-in and signup: routes to
src/App.jsx - Route coordinator → Authentication state: provides auth
src/App.jsx - Route coordinator → Protected app shell: protects routes
src/App.jsx - Route coordinator → Dashboard and system: routes to
src/App.jsx - Route coordinator → User directory: routes to
src/App.jsx - Route coordinator → Roles and permissions: routes to
src/App.jsx - Route coordinator → OAuth applications: routes to
src/App.jsx - Route coordinator → Sessions and audit: routes to
src/App.jsx - Route coordinator → Account settings: routes to
src/App.jsx - Authentication state → Authentication API: calls
src/auth/AuthContext.jsx - Authentication state → HTTP and token handling: manages session
src/auth/AuthContext.jsx - Authentication state → Role-based destinations: normalizes roles
src/auth/AuthContext.jsx - Account settings → Admin API operations: requests admin data
src/pages/AccountPage.jsx - User directory → Admin API operations: manages users
src/pages/UsersPage.jsx - Roles and permissions → Admin API operations: manages access
src/pages/RolesPage.jsx - OAuth applications → Admin API operations: manages clients
src/pages/ClientsPage.jsx - Sessions and audit → Admin API operations: loads sessions
src/pages/SessionsPage.jsx - Admin API operations → HTTP and token handling: uses HTTP client
src/api/admin.js - Authentication API → HTTP and token handling: uses HTTP client
src/api/auth.js - HTTP and token handling → CCIDP service: sends API requests
README.md - Protected app shell → Role-based destinations: filters navigation
src/layout/AppShell.jsx - Protected app shell → Shared interface components: renders
src/layout/AppShell.jsx - Shared interface components → Overlay dismissal: uses dismissal hook
src/components/ConfirmDialog.jsx - Shared interface components → Display formatting: formats dates
src/components/RelativeTime.jsx - OAuth applications → Display formatting: formats client data
src/pages/ClientsPage.jsx