The frontend web application for AuthSec — an open-source enterprise Identity and Access Management (IAM) platform. Built with React 19, Vite 6, and TypeScript.
| Layer | Technology |
|---|---|
| Framework | React 19 + TypeScript 5.8 |
| Build tool | Vite 6 |
| State management | Redux Toolkit |
| Routing | React Router 6 |
| UI components | Radix UI |
| Styling | Tailwind CSS 4 |
| Forms | React Hook Form + Zod |
| Data fetching | RTK Query |
- Node.js >= 20.0.0
- npm >= 10.0.0
- A running AuthSec backend instance (see backend repository)
git clone https://github.com/authsec-ai/Authsec-ui.git
cd Authsec-uinpm installcp .env.example .envEdit .env and set the URL of your AuthSec backend:
VITE_API_URL=http://localhost:7468/authsec
VITE_APP_NAME=AuthSec Enterprise IAMnpm run devThe app will be available at http://localhost:5173.
| Variable | Required | Description |
|---|---|---|
VITE_API_URL |
Yes | URL of the AuthSec backend API |
VITE_APP_NAME |
No | Application name shown in the UI (default: AuthSec Enterprise IAM) |
| Script | Description |
|---|---|
npm run dev |
Start development server |
npm run build |
Build for production (output: dist/) |
npm run preview |
Preview the production build locally |
npm run lint |
Run ESLint |
npm run lint:fix |
Auto-fix lint issues |
npm run type-check |
Run TypeScript type checking |
npm run test |
Run tests with Vitest |
npm run test:coverage |
Run tests with coverage report |
npm run buildThe built files will be in the dist/ directory. Serve them with any static file server (nginx, Caddy, etc.) or deploy to a CDN.
If you'd prefer not to self-host, AuthSec is available as a managed service at app.authsec.ai. Sign up there to get a fully managed backend without any infrastructure setup.
This frontend requires the AuthSec backend to be running and accessible. The backend provides the API endpoints for authentication, user management, client configuration, and all IAM features.
Set VITE_API_URL to point to your backend instance. For the local Docker Compose stack from the backend repo, use http://localhost:7468/authsec.