You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 2a54c9e
Browse filesBrowse the repository at this point in the historyBrowse files
fix(auth): sign-out also removes datamate MCP entries carrying the gateway key
Standalone `datamate add` writes `Authorization: Bearer <gateway key>` into
MCP entries in `altimate-code.json`, so new sessions kept connecting as the
signed-out user after `auth logout`.
- Add `AltimateApi.signOut(projectDir)`: removes MCP entries in the global
and project config whose `Authorization` header is exactly the saved key,
then deletes `~/.altimate/altimate.json`
- CLI `auth logout altimate-backend` and TUI `/logout` both use it and
report the removed entries
- CLI error names the credential file and says to delete it manually
- TUI `/logout` passes `throwOnError` so a failed auth-store removal is
reported instead of showing "Signed out"
- Docs: Windows path, removed MCP entries, running sessions need a restart
- Test MCP entry removal (project + global, unrelated entry kept)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Copy file name to clipboardExpand all lines: docs/docs/configure/providers.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,7 +43,7 @@ Managed LLM access with dynamic routing across Sonnet 4.6, Opus 4.6, GPT-5.4, GP
43
43
44
44
For pricing, security, and data handling details, see the [Altimate LLM Gateway guide](https://help.altimate.ai/datamates/user-guide/components/llm-gateway/).
45
45
46
-
To sign out, run `altimate providers logout altimate-backend` (or `/logout` in the TUI). This removes the saved key from `~/.altimate/altimate.json`and the authstore, so workspace requests stop until you sign in again.
46
+
To sign out, run `altimate providers logout altimate-backend` (or `/logout` in the TUI). This deletes `~/.altimate/altimate.json`(`%USERPROFILE%\.altimate\altimate.json` on Windows), removes the auth-store entry, and removes datamate MCP servers in the global and current project config that carry the saved key. New sessions stop using the key; restart any session that is already running, or run `/logout` inside it. Datamate MCP servers configured in other projects are not removed.
47
47
48
48
!!! tip "Automatic model selection"
49
49
When Altimate credentials are configured and no model is explicitly chosen, the Altimate LLM Gateway is selected automatically. You can override this by setting `model` in your config or by restricting the `provider` section to specific providers only.
0 commit comments