Skip to content

Unify provider authentication and support host-managed credentials - #558

Open
fazxes wants to merge 8 commits into
mainfrom
fazxes/support-host-managed-auth
Open

Unify provider authentication and support host-managed credentials#558
fazxes wants to merge 8 commits into
mainfrom
fazxes/support-host-managed-auth

Conversation

@fazxes

@fazxes fazxes commented Sep 1, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Store saved Gateway, fx login, Codex, and Grok credentials in one versioned auth document.
  • Migrate legacy profile files and macOS Keychain items only after verifying the common document.
  • Keep status and doctor reads non-mutating.
  • Refresh and log out only the selected credential while preserving the others.
  • Let embedding hosts own provider credentials through FX_AUTH_MODE=host-managed.
  • Omit authentication-owned headers from Gateway, Codex, and Grok traffic while preserving provider routing and streaming.
  • Report host ownership for login, logout, teams, and setup commands without modifying local auth state.
  • Keep existing local authentication behavior when host-managed mode is not selected.

fazxes added 4 commits August 31, 2026 16:27
Store saved Gateway, fx login, Codex, and Grok credentials in one versioned auth document.
Migrate legacy files and Keychain items after verification.
Keep diagnostics read-only and scope refresh and logout updates to one credential.
Allow embedding hosts to own provider credentials while fx omits authentication-owned headers.
Keep existing local authentication unchanged unless FX_AUTH_MODE=host-managed.
@fazxes fazxes added the type: feature Adds a new user-facing capability label Sep 1, 2026
@fazxes
fazxes marked this pull request as ready for review September 1, 2026 08:00
@fazxes fazxes changed the title Support host-managed provider authentication Unify provider authentication and support host-managed credentials Sep 1, 2026
@fazxes
fazxes changed the base branch from fazxes/unify-model-auth-store to main September 1, 2026 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: feature Adds a new user-facing capability

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant