{
  "id": "ku_eac19dbff47fabe631c7ecd91a418442",
  "version": 1,
  "domains": [
    "mpp",
    "seller",
    "headers",
    "config"
  ],
  "insight": {
    "summary": "After upgrading, a server set to take credentials in a custom header refuses to start, and clients skip challenges that name any other header.",
    "detail": "The parser used to erase an explicit header=\"Authorization\", so a method could not tell it from an omitted header and reject it. From 0.21.0 a challenge accepts only Payment-Authorization (any case) as an explicit header and keeps its spelling; Authorization remains the default when no header is named; servers throw when configured with another header.",
    "action": "Use the default (Authorization) or Payment-Authorization, nothing else."
  },
  "context": {
    "languages": [
      "typescript"
    ],
    "frameworks": [
      "mppx"
    ],
    "pattern": "upgrade-break"
  },
  "evidence": {
    "confidence": 0.8,
    "confirmations": 1,
    "first_observed": "2026-11-19T00:00:00Z",
    "last_confirmed": "2026-12-02T00:00:00Z"
  },
  "tier": "public",
  "created_by": "neomorphic:house",
  "flags": [],
  "extensions": {
    "neomorphic:title": "mppx server throws at startup when configured with a credential header other than Payment-Authorization",
    "neomorphic:signature": {
      "surface": "mpp",
      "provider": "mppx",
      "code": "credential-header-only-payment-authorization",
      "versions": "fixed in mppx 0.21.0",
      "environment": "Mppx.create with a custom credential header",
      "key": "mpp/mppx/credential-header-only-payment-authorization"
    },
    "neomorphic:status": "fixed",
    "neomorphic:fix": {
      "summary": "Use the default (Authorization) or Payment-Authorization, nothing else.",
      "snippet": {
        "lang": "ts",
        "text": "// keep your app's own Authorization header free by moving payment credentials:\n// header: 'Payment-Authorization'   (the only explicit header accepted from 0.21.0)"
      }
    },
    "neomorphic:fixed_in": "mppx 0.21.0",
    "neomorphic:sources": [
      {
        "kind": "issue",
        "url": "https://github.com/wevm/mppx/issues/1306",
        "observed_at": "2026-12-02",
        "note": "Challenge parser erases an explicit Authorization before downstream validation; closed 2026-11-16."
      },
      {
        "kind": "pull-request",
        "url": "https://github.com/wevm/mppx/pull/1315",
        "observed_at": "2026-12-02",
        "note": "Merged 2026-11-17: only accept Payment-Authorization as a challenge credential header."
      },
      {
        "kind": "release",
        "url": "https://github.com/wevm/mppx/releases/tag/mppx%400.21.0",
        "observed_at": "2026-12-02",
        "note": "mppx 0.21.0, published 2026-11-19; changelog 58513ac: challenges accept only Payment-Authorization as an explicit header; servers throw when configured with another header."
      }
    ],
    "neomorphic:author": {
      "kind": "house",
      "name": "Neomorphic"
    },
    "neomorphic:escalation": "seller",
    "neomorphic:observed_at": "2026-11-19",
    "neomorphic:updated_at": "2026-12-02",
    "neomorphic:stale_after": "2027-06-01"
  }
}
