Skip to content

WS-SEC-03: Production Flow token verification is a stub (launch blocker) #137

Description

@catchmeifyoucaan

Finding

The production Flow auth verifier in backend/app/adapters/auth/flow.py is a stub. verify() raises AuthVerificationError("Flow token verification is not configured for issuer ...") for all issuers. There is no real JWT verification against a Flow JWKS endpoint or OIDC discovery.

Risk

Production authentication does not actually work. This is a hard launch blocker.

Location

  • backend/app/adapters/auth/flow.py - _verify_local_hmac_token works for local/test only; production path always raises

Recommendation

Implement production Flow token verification (JWKS or OIDC discovery) before any production deployment. The stub is documented as a Chunk 2 placeholder but must be addressed before launch.

Severity: Critical (launch blocker)

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