Skip to content

market.chitty.cc register-service auth blocked: no working CF Access credential, gateway proxy missing register routes #70

Description

@chitcommit

Summary

The chittyconnect-concierge agent was tasked with an authenticated ChittyMarket register-service write for 11 external Cloudflare skills (agents-sdk, cloudflare, cloudflare-email-service, cloudflare-one, cloudflare-one-migrations, durable-objects, sandbox-sdk, turnstile-spin, web-perf, workers-best-practices, wrangler). The write could not be completed because no available credential authenticates against market.chitty.cc, and the gateway proxy does not expose the register routes as a fallback.

Findings

  1. Gateway routing gap: agent.chitty.cc/market only proxies /health (200). /api/v1/* and /v0.1/servers both 404 on the gateway — there is no working non-Access path to reach the register surface.
  2. market.chitty.cc is Cloudflare-Access-protected on all API routes. GET /health (and by extension the API) returns 401 invalid_token without credentials, with resource_metadata pointing to https://market.chitty.cc/.well-known/cloudflare-access-protected-resource/health.
  3. Resource metadata declares only two supported auth methods: cloudflared (interactive CLI) and oauth (interactive authorization-code flow). Service-token header auth (CF-Access-Client-Id / CF-Access-Client-Secret) is not listed as a supported method.
  4. Available service tokens do not work:
    • The general CLOUDFLARE_SERVICE_TOKEN (ChittyConnect Only vault) produces a 522 (origin unreachable) when sent to market.chitty.cc/health — distinct from the clean 401 seen with no credentials, suggesting the Access application is not configured to accept it, or accepting it exposes a broken path to the origin.
    • sa-chitty-prod, sa-chitty-admin-prod, sa-chittyconnect-broker, sa-chittyos-deploy service-account items exist but their username/credential field shapes don't map to a working CF-Access service token pair for this app (empty-equivalent auth, falls through to the same 401 as anonymous).
    • No 1Password item across ChittyOS-Core, ChittyOS, ChittyConnect Only, synthetic-shared, synthetic-prod, synthetic-dev, synthetic-stage, ChittyOS-Legal, CHITTYAPPS is scoped specifically to market/chittymarket.
  5. There is no can CLI / lightweight credential-broker fast-path reachable from this host to try an alternate provisioning route.

Requested fix

  • Register a Cloudflare Access service token auth method on the market.chitty.cc Access application (currently only cloudflared/oauth are advertised in resource metadata), OR
  • Provision an OAuth client-credentials grant for chittycorp.cloudflareaccess.com scoped to market.chitty.cc, and store it in 1Password (ChittyOS-Core or ChittyConnect Only vault) under a discoverable name (e.g. CHITTYMARKET_SERVICE_TOKEN), OR
  • Fix the agent.chitty.cc/market gateway proxy to forward /api/v1/sync and /v0.1/servers (register endpoints) the same way it forwards /health, with the gateway handling Access auth server-side.

Result of this task

Per the system-wide sensitive-intent contract, failing closed: POLICY_BLOCKED_CHITTYCONNECT_UNAVAILABLE. No register write was attempted against /api/v1/sync or /v0.1/servers since no request could get past the 401/522 auth boundary. The 11 skills remain registered only in the remote orchestrator skill:index (already confirmed complete in a prior step) — they are not yet persisted in ChittyMarket.


Filed by chittyconnect-concierge on behalf of an operator task; no credential values are included in this report.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions