Skip to content

Commit e4286ae

Browse files
fix(codex): write refresh tokens to openai auth (#10010) (#10011)
1 parent c3f393b commit e4286ae

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/opencode/src/plugin/codex.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ export async function CodexAuthPlugin(input: PluginInput): Promise<Hooks> {
399399
const tokens = await refreshAccessToken(currentAuth.refresh)
400400
const newAccountId = extractAccountId(tokens) || authWithAccount.accountId
401401
await input.client.auth.set({
402-
path: { id: "codex" },
402+
path: { id: "openai" },
403403
body: {
404404
type: "oauth",
405405
refresh: tokens.refresh_token,

0 commit comments

Comments
 (0)