- Integrate React SPA admin layout with OIDC authentication check and unauthenticated login redirection - Support authenticated session resolution via /birthday/api/auth/me and display user identity in admin navigation bar - Add working Logout button calling /birthday/api/auth/logout to revoke session, clear HttpOnly cookie, and transition UI to unauthenticated state - Update auth routes callback target to /birthday/admin and handle GET/POST logout redirects - Add end-to-end browser acceptance tests using Playwright verifying complete interactive login and logout flow
27 lines
639 B
JSON
27 lines
639 B
JSON
{
|
|
"name": "bdinvite-frontend",
|
|
"private": true,
|
|
"version": "0.1.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "tsc -b && vite build && cp -r dist/* ../backend/static/",
|
|
"preview": "vite preview",
|
|
"lint": "biome check .",
|
|
"lint:fix": "biome check --write .",
|
|
"format": "biome format --write ."
|
|
},
|
|
"dependencies": {
|
|
"react": "^18.3.1",
|
|
"react-dom": "^18.3.1",
|
|
"react-router-dom": "^6.26.2"
|
|
},
|
|
"devDependencies": {
|
|
"@types/react": "^18.3.10",
|
|
"@types/react-dom": "^18.3.0",
|
|
"@vitejs/plugin-react": "^4.3.2",
|
|
"typescript": "^5.6.2",
|
|
"vite": "^5.4.8"
|
|
}
|
|
}
|