Skip to content

Don't remove token from local store if /refreshToken returns a non-403 error#182

Merged
Toastbrot236 merged 3 commits intoLittleBigRefresh:mainfrom
Toastbrot236:token-refresh-fix
Feb 14, 2026
Merged

Don't remove token from local store if /refreshToken returns a non-403 error#182
Toastbrot236 merged 3 commits intoLittleBigRefresh:mainfrom
Toastbrot236:token-refresh-fix

Conversation

@Toastbrot236
Copy link
Contributor

The token now only gets deleted if the server has expired it (/refreshToken returns a 403 specifically), and not whenever the endpoint returns any error. This makes testing, aswell as some other scenarios less annoying to deal with.

@Toastbrot236 Toastbrot236 merged commit 8e61241 into LittleBigRefresh:main Feb 14, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant