Skip to content

Authenticated routes do not document 503 idp-unavailable, which the token check raises #504

Open

Description

@ephico2real2

Parent: #480. Found by the #479 Phases 2–3 implementer, 2026-11-20, and fixed in PR #503.

What is wrong. Every route behind the token check can answer 503 idp-unavailable (cmapi/src/cmapi/core/auth.py:128 raises it when the identity provider cannot be reached), but the API document did not list 503 idp-unavailable on those routes.

Fix. _document_token_problems in core/docs.py adds it to each authenticated operation. The new standard lint (tests/service/test_api_standard.py, S3) fails before the fix and passes after.

Activity

  1. added
    bug
    sev:low
    In-Progress
    on Nov 20, 2026
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

    In-Progressbugsev:low

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions