Skip to content

v0.148.0

Choose a tag to compare

@github-actions github-actions released this 25 Jul 19:07

BREAKING CHANGE

  • OAuth scope enforcement now actually applies to tool calls.
    Sessions whose token or stored app-password scopes do not cover a tool were
    silently allowed and are now denied with InsufficientScopeError; under OAuth,
    a request arriving without a verified token is denied rather than treated as
    BasicAuth. Deployments relying on the previous permissive behaviour must grant
    the required scopes (nc_auth_update_scopes, or
    PATCH /api/v1/users/{user_id}/scopes).

Fix

  • auth: fail closed in check_scopes when OAuth has no token
  • auth: enforce @require_scopes at runtime