feat: update token auth flow

This commit is contained in:
Peter Steinberger
2026-01-09 08:12:48 +01:00
parent a4d6638f89
commit 77d4bb8dfe
7 changed files with 145 additions and 160 deletions

View File

@@ -38,10 +38,9 @@ describe("buildAuthChoiceOptions", () => {
version: 1,
profiles: {
[CLAUDE_CLI_PROFILE_ID]: {
type: "oauth",
type: "token",
provider: "anthropic",
access: "token",
refresh: "refresh",
token: "token",
expires: Date.now() + 60 * 60 * 1000,
},
},