Commit Graph

5 Commits

Author SHA1 Message Date
fe2bc5fc87 fix(auth): resolve reactivity bug and improve error handling
- Fix Vue reactivity bug in isAuthenticated computed property by
  reordering condition to ensure dependency tracking (!!user.value
  before pb.authStore.isValid)
- Fix cross-tab sync onChange listener to handle logout by using
  nullish coalescing for undefined model
- Add user-friendly error message mapping in login catch block
- Export initAuth method from useAuth composable
- Add auth.client.ts plugin for client-side auth initialization
- Remove debug console.log statements that masked the Heisenbug
- Simplify auth.client plugin tests to structural checks due to
  Nuxt's test environment auto-importing defineNuxtPlugin
- Update test expectations for new error message behaviour
2026-02-03 22:11:28 +01:00
64d9df5469 feat: implement validateRedirect utility for open redirect protection 2025-12-20 14:15:06 +01:00
8867dff780 test: add OAuth2 authentication test files (TDD RED phase) 2025-12-12 13:00:31 +01:00
40ae2145cc feat: authentication with OAuth
All checks were successful
ci / ci (push) Successful in 16m22s
2025-12-12 03:08:52 +01:00
4e9b4a19b8 feat(ui): basic layout 2025-12-10 21:21:38 +01:00