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
Copy file name to clipboardExpand all lines: docs/rfds/auth-methods.mdx
+1-23Lines changed: 1 addition & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -152,29 +152,6 @@ Because `terminal` auth methods require specific client-side support, clients mu
152
152
153
153
The `env_var` type does not require a capability opt-in since any client can set environment variables when starting a process, we are just providing additional context for the environment variable.
154
154
155
-
### Auth errors
156
-
157
-
It might be useful to include a list of AuthMethod ids to the AUTH_REQUIRED JsonRpc error. Why do we need this if they're already shared during `initialize`:
158
-
All supported auth methods are shared during `initialize`. When user starts a session, they've already selected a model, which can narrow down a list of options.
159
-
160
-
```json
161
-
{
162
-
"jsonrpc": "2.0",
163
-
"id": 2,
164
-
"error": {
165
-
"code": -32000,
166
-
"message": "Authentication required",
167
-
"authMethods": [
168
-
{
169
-
"id": "chatgpt",
170
-
"name": "Login with ChatGPT",
171
-
"description": "Use your ChatGPT login with Codex CLI (requires a paid ChatGPT subscription)"
172
-
}
173
-
]
174
-
}
175
-
}
176
-
```
177
-
178
155
## Frequently asked questions
179
156
180
157
> What questions have arisen over the course of authoring this document or during subsequent discussions?
@@ -189,6 +166,7 @@ There is also an alternative to adding a separate `elicitation` capability, whic
189
166
190
167
There was a part about elicitations https://github.com/agentclientprotocol/agent-client-protocol/blob/939ef116a1b14016e4e3808b8764237250afa253/docs/rfds/auth.mdx removed it for now, will move to a separate rfd
191
168
169
+
- 2026-03-09: Remove auth_methods from Error type
192
170
- 2026-03-03: Changed `env_var` from single `varName` to structured `vars` array of `AuthEnvVar` objects; simplified field name from `varName` to `name`
193
171
- 2026-02-27: Updated to reflect current implementation
194
172
- 2026-01-14: Updates based on Core Maintainer discussion
Copy file name to clipboardExpand all lines: schema/schema.unstable.json
-7Lines changed: 0 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -1442,13 +1442,6 @@
1442
1442
"Error": {
1443
1443
"description": "JSON-RPC error object.\n\nRepresents an error that occurred during method execution, following the\nJSON-RPC 2.0 error object specification with optional additional data.\n\nSee protocol docs: [JSON-RPC Error Object](https://www.jsonrpc.org/specification#error_object)",
1444
1444
"properties": {
1445
-
"authMethods": {
1446
-
"description": "**UNSTABLE**\n\nThis capability is not part of the spec yet, and may be removed or changed at any point.\n\nAuthentication methods relevant to this error.\nTypically included with `AUTH_REQUIRED` errors to narrow down which\nauthentication methods are applicable from those shared during initialization.",
0 commit comments