aboutsummaryrefslogtreecommitdiffhomepage
path: root/pkgs/server/src
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-01-01 21:28:33 +0900
committernsfisis <nsfisis@gmail.com>2026-01-01 21:28:33 +0900
commit1d31f2ec8921bb58d74458b057bbb31f4877c335 (patch)
tree695e24534c9529d4271aa7ed544eaadb697c93b6 /pkgs/server/src
parentbf286c11d3244afb5132271dac656109934150e0 (diff)
downloadkioku-1d31f2ec8921bb58d74458b057bbb31f4877c335.tar.gz
kioku-1d31f2ec8921bb58d74458b057bbb31f4877c335.tar.zst
kioku-1d31f2ec8921bb58d74458b057bbb31f4877c335.zip
fix(auth): redirect to login when session expires
When the refresh token fails (session expired), the ApiClient now notifies the AuthProvider via a callback. This triggers a logout and React state update, causing ProtectedRoute to redirect to /login. Closes #7 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Diffstat (limited to 'pkgs/server/src')
0 files changed, 0 insertions, 0 deletions