• v0.1.0-dev.23 5a32bc7e7b

    v0.1.0-dev.23 Pre-release

    john released this 2026-11-12 02:27:25 +00:00 | 174 commits to main since this release

    v0.1.0-dev.23 — Fix REST Bearer verification with MultiAuth (pre-release)

    Fixes authenticated OpenAPI calls returning HTTP 500 after successful CORS preflight:
    AttributeError: 'MultiAuth' object has no attribute 'load_access_token'.

    The REST adapter called a provider-specific method instead of the common FastMCP
    AuthProvider interface. It now calls verify_token, which supports MultiAuth's
    OIDC/direct JWT/API-key verifier chain. MCP transport already uses that interface.

    New full-app tests use actual MultiAuth and real synthetic minted keys, without
    mocking the REST authentication helpers:

    • Shopping vendors, pricing categories and notification status return 200 with a
      valid Corn Bearer key and browser Origin/X-Session-Id headers.
    • Invalid, revoked, expired keys and disabled users return 401 rather than 500.
    • Separate users resolve to their own identities, and API keys cannot mint keys (403).
    • A second verifier's direct token remains accepted alongside Corn API keys.
    • Existing browser console and MCP discovery regression tests remain in place.

    No API key rotation, OIDC reconfiguration, schema migration or CORS change required.
    Keep the configured allowed origin and mounted data/secret key unchanged. Update:

    docker compose -f compose.local.yaml up -d --pull always --no-build --no-deps corn
    

    287 regression tests plus browser smoke pass. Release builds verify both AMD64 and
    ARM64 application initialization and published image manifests before channel promotion.

    Downloads