google-gemini / google-gemini/gemini-cli

[Remote Agents] OAuth 2.0: Dynamic Client Registration

Open
#17,604 2 comments 0 reactions 0 assignees View on GitHub
🔒 maintainer only area/agent kind/enhancement priority/p2 status/bot-triaged workstream-rollup
Dominant language
TypeScript
Stars
107k
Forks
14.6k
Avg merge
2d 3h
Merged PRs (30d)
45

Description

Implement support for to allow the CLI to automatically register as a client with an A2A agent.

**Requirements:**
- Utilize the `registration_endpoint` discovered via RFC 8414 metadata or provided configuration.
- Implement the POST handshake to automatically obtain a `client_id` and `client_secret`.
- Implement logic to store and reuse dynamically registered credentials securely in `~/.gemini/a2a-oauth-tokens.json` fpor token reauth and to avoid redundant registrations if possible.

Should mirror current MCP Implementation

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.