Skip to content

fix: use ky client for auth calls instead of raw fetch#18

Merged
amrtgaber merged 2 commits into
mainfrom
fix/auth-use-ky-for-api-calls
Feb 3, 2026
Merged

fix: use ky client for auth calls instead of raw fetch#18
amrtgaber merged 2 commits into
mainfrom
fix/auth-use-ky-for-api-calls

Conversation

@amrtgaber
Copy link
Copy Markdown
Contributor

@amrtgaber amrtgaber commented Feb 3, 2026

Summary

  • Replace raw fetch calls in auth.tsx with the shared api (ky) instance so logout and checkAuth go through the 401 interceptor for automatic token refresh on expired access tokens

Replace raw fetch calls in auth.tsx with the shared ky api instance so
logout and checkAuth go through the 401 interceptor for automatic token
refresh on expired access tokens.
@amrtgaber amrtgaber merged commit cd4887a into main Feb 3, 2026
2 checks passed
@amrtgaber amrtgaber deleted the fix/auth-use-ky-for-api-calls branch February 3, 2026 23:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant