memos/server/router
Johnny 50606a850e fix(auth): resolve token refresh and persistence issues
- Fix cookie expiration timezone to use GMT (RFC 6265 compliance)
- Use Connect RPC client for token refresh instead of fetch
- Fix error code checking (numeric Code.Unauthenticated instead of string)
- Prevent infinite redirect loop when already on /auth page
- Fix protobuf Timestamp conversion using timestampDate helper
- Store access token in sessionStorage to avoid unnecessary refreshes on page reload
- Add refresh token cookie fallback for attachment authentication
- Improve error handling with proper type checking

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-18 20:56:54 +08:00
..
api/v1 fix(auth): resolve token refresh and persistence issues 2025-12-18 20:56:54 +08:00
fileserver fix(auth): resolve token refresh and persistence issues 2025-12-18 20:56:54 +08:00
frontend fix(server): reduce static asset cache to prevent stale files after redeploy 2025-10-28 07:55:02 +08:00
rss refactor: simplify theme/locale to user preferences and improve initialization 2025-12-02 09:08:46 +08:00