Skip to content

fix(admin): preserve refresh token for manual OpenAI RT auth#1301

Closed
0xObjc wants to merge 1 commit intoWei-Shaw:mainfrom
0xObjc:codex/fix-manual-openai-rt-refresh-token
Closed

fix(admin): preserve refresh token for manual OpenAI RT auth#1301
0xObjc wants to merge 1 commit intoWei-Shaw:mainfrom
0xObjc:codex/fix-manual-openai-rt-refresh-token

Conversation

@0xObjc
Copy link

@0xObjc 0xObjc commented Mar 25, 2026

Summary

  • preserve the original refresh token when manual OpenAI RT auth does not return a rotated refresh token
  • keep upstream returned refresh tokens untouched when present
  • add targeted unit tests for the fallback behavior

Testing

  • npm test -- --run src/components/account/tests/credentialsBuilder.spec.ts src/composables/tests/useOpenAIOAuth.spec.ts
  • npm run typecheck

@0xObjc
Copy link
Author

0xObjc commented Mar 25, 2026

Closing this for now while local verification is still in progress.

@0xObjc 0xObjc closed this Mar 25, 2026
@0xObjc 0xObjc deleted the codex/fix-manual-openai-rt-refresh-token branch March 25, 2026 12:48
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