google-gemini / google-gemini/gemini-cli
[Remote Agents] OAuth 2.0: Dynamic Client Registration
Open
🔒 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
Assessment
This issue has not been assessed yet.