a2a-Market-Google-OAuth
/install a2a-market-google-oauth
\r \r
a2a-Market Google OAuth\r
\r Create a stable OAuth integration shell for buyer and merchant sign-in.\r \r Current status: publish-ready scaffold. Keep flows explicit and deterministic before full SSO hardening.\r \r
Scope\r
- Implement Google OAuth authorization code flow.\r
- Link external identity to internal Agent/Operator profile.\r
- Bootstrap session token and refresh workflow after callback.\r \r
Suggested Project Layout\r
app/integrations/oauth/google_client.py\rapp/interfaces/api/auth_routes.py\rapp/application/services/session_service.py\rapp/protocol/identity/user_identity_mapper.py\r \r
Minimum Contracts (MVP P0)\r
GET /auth/google/startbuilds state + redirect URL.\rGET /auth/google/callbackvalidates state and exchanges code.\rupsert_identity(provider, provider_user_id, email)returns internal principal id.\rcreate_session(principal_id)returns short-lived access token and refresh token.\r \r
Security Baseline\r
- Validate
stateandnonceagainst server-side cache.\r - Reject callback if issuer/audience do not match configuration.\r
- Store only hashed refresh tokens and rotate on use.\r \r
Events\r
- Emit login event to audit log stream.\r
- Emit session-created event for WebSocket presence bootstrap.\r \r
Implementation Backlog\r
- Add account merge flow for duplicate emails across providers.\r
- Add step-up verification for risky sessions.\r \r
Runtime Implementation\r
- Status: implemented in local runtime package.\r
- Primary code paths:\r
runtime/src/integrations/oauth/google-oauth-service.js\r- Validation: covered by
runtime/testsandnpm testinruntime/.\r
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install a2a-market-google-oauth - After installation, invoke the skill by name or use
/a2a-market-google-oauth - Provide required inputs per the skill's parameter spec and get structured output
What is a2a-Market-Google-OAuth?
Handle Google OAuth login, account linking, and session bootstrap for A2A market users and operators. Use when implementing identity login endpoints, callbac... It is an AI Agent Skill for Claude Code / OpenClaw, with 243 downloads so far.
How do I install a2a-Market-Google-OAuth?
Run "/install a2a-market-google-oauth" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is a2a-Market-Google-OAuth free?
Yes, a2a-Market-Google-OAuth is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does a2a-Market-Google-OAuth support?
a2a-Market-Google-OAuth is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created a2a-Market-Google-OAuth?
It is built and maintained by luoqianchenguni-max (@luoqianchenguni-max); the current version is v0.2.0.