Commit Graph

5 Commits

Author SHA1 Message Date
coryHawkvelt 71c58ddb60 fix(auth): ensure token storage before user state updates
- Store authentication tokens explicitly before setting user state in login
  and TOTP verification flows to prevent race conditions
- Add 'credentials: include' to WebAuthn endpoints for proper session
  cookie handling
- Add comprehensive debug logging throughout authentication flow to trace
  token lifecycle and API requests
- Update WebAuthn completeLogin to use fetch directly instead of request
  helper to properly handle session cookies
- Add allowedHosts configuration to Vite dev server
2026-01-16 11:35:21 +10:30
gpt-engineer-app[bot] 252196098e Changes 2026-01-07 14:38:47 +00:00
gpt-engineer-app[bot] 510fde1fce Changes 2026-01-07 14:35:53 +00:00
gpt-engineer-app[bot] 096f1afbd2 Changes 2026-01-06 16:06:53 +00:00
gpt-engineer-app[bot] 0104839c11 Changes 2026-01-06 14:46:23 +00:00