fix(auth): ����-������ ������ ������ ��� 401 (����� ���������� ����� ���) #22

Open
min wants to merge 3 commits from fix/studio-token-refresh into main
Owner

������ �� ��������� access (24�) > ���������� ������ 401. AuthContext ������ refreshToken �� redeem, axios-����������� ��������� ����� ��� 401 � ��������� ������. + Hotbar: ������ ��������� �����.

?? Generated with Claude Code

������ �� ��������� access (24�) > ���������� ������ 401. AuthContext ������ refreshToken �� redeem, axios-����������� ��������� ����� ��� 401 � ��������� ������. + Hotbar: ������ ��������� �����. ?? Generated with [Claude Code](https://claude.com/claude-code)
min added 1 commit 2026-06-02 11:21:34 +00:00
fix(auth): авто-рефреш access при 401 + сохранение refreshToken из redeem
Some checks failed
CI / Lint (pull_request) Successful in 1m26s
CI / Build (pull_request) Successful in 2m1s
CI / Secret scan (pull_request) Failing after 8s
CI / PR size check (pull_request) Successful in 6s
CI / Deploy to S1 + S2 (pull_request) Has been skipped
8fe83df899
Студия не умела рефрешить токен (access живёт 24ч) → сохранение проектов
падало 401 после суток работы («через раз»). Теперь: AuthContext сохраняет
refreshToken из redeem-ticket; axios-интерсептор при 401 обновляет access
через /auth/refresh (single-flight) и повторяет запрос. + глобальное правило
Hotbar: пустой инвентарь не показывает панель.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
min added 1 commit 2026-06-02 11:27:24 +00:00
ci: re-run — secret-scan упал на install trufflehog (инфра, не секрет)
Some checks failed
CI / Lint (pull_request) Successful in 1m18s
CI / Build (pull_request) Successful in 2m0s
CI / Secret scan (pull_request) Failing after 8s
CI / PR size check (pull_request) Successful in 6s
CI / Deploy to S1 + S2 (pull_request) Has been skipped
201c54d179
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
min added 1 commit 2026-06-02 11:32:30 +00:00
ci(secret-scan): запинить trufflehog v3.90.5 (latest 3.95.4 = 404 на бинарник)
All checks were successful
CI / Lint (pull_request) Successful in 1m9s
CI / Build (pull_request) Successful in 2m3s
CI / Secret scan (pull_request) Successful in 2m49s
CI / PR size check (pull_request) Successful in 8s
CI / Deploy to S1 + S2 (pull_request) Has been skipped
5c5ae76e5c
Upstream trufflehog latest-тег указывал на релиз без выложенного бинарника →
install HTTP 404 → secret-scan падал на всех PR. Пин на стабильную версию.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
All checks were successful
CI / Lint (pull_request) Successful in 1m9s
CI / Build (pull_request) Successful in 2m3s
Required
Details
CI / Secret scan (pull_request) Successful in 2m49s
Required
Details
CI / PR size check (pull_request) Successful in 8s
CI / Deploy to S1 + S2 (pull_request) Has been skipped
This pull request has changes conflicting with the target branch.
  • src/editor/Hotbar.jsx

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin fix/studio-token-refresh:fix/studio-token-refresh
git checkout fix/studio-token-refresh
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: rublox/studio#22
No description provided.