fix(auth): return the rotated refresh token #1

Open
naol-yaltopia wants to merge 1 commits from fix/refresh-token-rotation into main

The refresh endpoint revoked the submitted token but sent it back to the
client, so the next refresh failed and sign-out could not revoke the live
token. Return the new token and cover single-use rotation with a test.

The refresh endpoint revoked the submitted token but sent it back to the client, so the next refresh failed and sign-out could not revoke the live token. Return the new token and cover single-use rotation with a test.
naol-yaltopia added 1 commit 2026-11-23 18:13:58 +03:00
The refresh endpoint revoked the submitted token but sent it back to the
client, so the next refresh failed and sign-out could not revoke the live
token. Return the new token and cover single-use rotation with a test.
This pull request can be merged automatically.
You are not authorized to merge this pull request.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin fix/refresh-token-rotation:fix/refresh-token-rotation
git checkout fix/refresh-token-rotation

Merge

Merge the changes and update on Gitea.
git checkout main
git merge --no-ff fix/refresh-token-rotation
git checkout main
git merge --ff-only fix/refresh-token-rotation
git checkout fix/refresh-token-rotation
git rebase main
git checkout main
git merge --no-ff fix/refresh-token-rotation
git checkout main
git merge --squash fix/refresh-token-rotation
git checkout main
git merge --ff-only fix/refresh-token-rotation
git checkout main
git merge fix/refresh-token-rotation
git push origin main
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
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: RezinaLMS/RezinaLMS-BackEnd#1
No description provided.