bug: OAuth access tokens are immediately invalidated on refresh #2406

Open
opened 2026-10-26 03:11:04 +00:00 by ginger · 0 comments
Owner

What is the bug?

When a client refreshes an OAuth access token, Continuwuity will immediately forget about the old token and begin responding to requests using it with a hard logout error. If a client is unlucky enough to send a token refresh request and then crash or go offline before it sees the response, it will be logged out when it tries to make another request.

We need to either allow old OAuth tokens to remain functional until the new token is used, or return a soft logout in this situation.

Steps to reproduce

n/a

Server name and version

main

Additional context

No response

### What is the bug? When a client refreshes an OAuth access token, Continuwuity will immediately forget about the old token and begin responding to requests using it with a hard logout error. If a client is unlucky enough to send a token refresh request and then crash or go offline before it sees the response, it will be logged out when it tries to make another request. We need to either allow old OAuth tokens to remain functional until the new token is used, or return a soft logout in this situation. ### Steps to reproduce n/a ### Server name and version main ### Additional context _No response_
ginger added this to the 26.11.0 milestone 2026-10-26 03:11:04 +00:00
ginger self-assigned this 2026-10-26 03:11:04 +00:00
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
continuwuation/continuwuity#2406
No description provided.