Commit Graph

10 Commits

Author SHA1 Message Date
Matt c6a57c7922 Fix redirect loops and SSR hydration issues in auth flow
Build And Push Image / docker (push) Successful in 2m59s Details
- Replace ref with useState in useAuth for SSR compatibility
- Move navigation logic from top-level to onMounted hooks
- Add guest middleware to login page to prevent auth conflicts
- Simplify dashboard auth checks by relying on middleware
- Add loading state to index page during auth resolution

This prevents infinite redirect loops and hydration mismatches that
occurred during server-side rendering when navigating between
authenticated and unauthenticated states.
2025-08-07 17:21:18 +02:00
Matt 423d8c3aa1 Simplify auth system by removing throttling and mobile workarounds
Build And Push Image / docker (push) Successful in 3m0s Details
- Remove session check throttling mechanism from useAuth composable
- Eliminate forced auth check parameters throughout codebase
- Replace window.location redirects with standard navigateTo()
- Remove mobile-specific authentication handling and diagnostics
- Move auth check to onMounted hook in login page
- Clean up console logging for auth operations
2025-08-07 17:12:05 +02:00
Matt 616490dfef Fix auth throttling causing login loops by adding forced session checks
Build And Push Image / docker (push) Successful in 3m27s Details
Add optional force parameter to checkAuth() to bypass throttling during
critical authentication flows like login, middleware, and initial auth
verification. This prevents iOS Safari login loops while maintaining
throttling for regular session checks.
2025-08-07 17:01:01 +02:00
Matt 2843bcf4f5 Fix iOS Safari auth loops and simplify admin dashboard
Build And Push Image / docker (push) Successful in 3m4s Details
- Add session check throttling in useAuth to prevent iOS Safari authentication loops
- Simplify admin dashboard by removing complex system metrics and stats
- Remove system-metrics utility and streamline stats API endpoint
- Update admin interface to focus on core user and role management
2025-08-07 16:20:05 +02:00
Matt 789ecd7eab Refactor login flow to return redirect URL instead of direct navigation
Build And Push Image / docker (push) Successful in 2m43s Details
Move navigation responsibility from useAuth composable to login page
component for better separation of concerns and component control.
2025-08-07 14:27:08 +02:00
Matt 98ef466022 feat: improve login process with enhanced session handling and error management
Build And Push Image / docker (push) Successful in 2m55s Details
2025-08-07 13:51:13 +02:00
Matt 1b2ce79919 feat: enhance login process with session data retrieval and role extraction
Build And Push Image / docker (push) Successful in 3m5s Details
2025-08-07 13:37:54 +02:00
Matt 05b8d97e22 feat: enhance login method with detailed logging for request and response
Build And Push Image / docker (push) Successful in 2m52s Details
2025-08-07 13:13:11 +02:00
Matt cd29123e23 Refactor authentication system with tier-based access control
Build And Push Image / docker (push) Successful in 2m59s Details
- Replace group-based auth with user/board/admin tier system
- Add direct login functionality alongside OAuth
- Implement role-based middleware for route protection
- Create dashboard pages and admin API endpoints
- Add error handling page and improved user management
- Maintain backward compatibility with legacy role methods
2025-08-07 12:28:41 +02:00
Matt 024d0da617 Initialize Nuxt.js project with Docker deployment setup
- Add core Nuxt.js application structure with TypeScript
- Include Docker configuration and deployment guide
- Set up project scaffolding with pages, composables, and middleware
- Add environment configuration and Git ignore rules
2025-08-06 14:31:16 +02:00