diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-01-01 21:19:30 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-01-01 21:19:30 +0900 |
| commit | bf286c11d3244afb5132271dac656109934150e0 (patch) | |
| tree | 7188425dbe9652c11bd85bb653bd32ee5d49bd3c /src/client/components/CreateNoteTypeModal.tsx | |
| parent | 803b3dd4a87ba2711605b565ee1eaf5992daf267 (diff) | |
| download | kioku-bf286c11d3244afb5132271dac656109934150e0.tar.gz kioku-bf286c11d3244afb5132271dac656109934150e0.tar.zst kioku-bf286c11d3244afb5132271dac656109934150e0.zip | |
fix(auth): add automatic token refresh on 401 responses
The client session was too short because access tokens (15 min) weren't
being automatically refreshed using the refresh token (7 days). Now the
ApiClient intercepts 401 responses, attempts token refresh, and retries
the original request. This extends effective session duration to 7 days.
Closes #6
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Diffstat (limited to 'src/client/components/CreateNoteTypeModal.tsx')
0 files changed, 0 insertions, 0 deletions
